SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: tonto125
Forum: Scripting Help 21/02/2020, 04:58 PM
Replies: 2
Views: 167
Posted By tonto125
Re: Player Near Object Detection

Create a float of the X,Y,Z coords. For example;

new Float:baloon[3];


Then use that in the IsPlayerInRangeOfPoint function.


If(IsPlayerInRangeOfPoint(playerid, 10.0, baloon[0],...
Forum: Scripting Help 12/03/2019, 02:08 AM
Replies: 9
Views: 364
Posted By tonto125
Wink Re: 26 errors.... missing brackets

Hi,

Youíll just have to find where you edited the script.
It canít determine where the missing bracket is.

It should be somewhere around the lines of the error codes PAWNO is producing when...
Forum: Scripting Help 18/12/2018, 04:34 PM
Replies: 4
Views: 364
Posted By tonto125
Re: Function not registered

Make sure you recompile your script with the latest FCNPC.
Forum: Scripting Help 17/12/2018, 09:36 PM
Replies: 8
Views: 410
Posted By tonto125
Re: Help with error

There is no need for LoadLabels, LoadMaps and LoadFiles to be defined.

Try this code instead.


LoadMaps()
{
// -- SPAWN -- //
CreateDynamicObject(19076, 1721.54028, -1655.39258,...
Forum: Scripting Help 17/12/2018, 09:28 PM
Replies: 2
Views: 190
Posted By tonto125
Re: Textdraw Issue

Hi, can you post your 'OnPlayerClickTextDraw' code.

There may be something in there interfering with the filterscript. Also, have you made sure you have SelectTextDraw(playerid, hovercolor); in...
Forum: Scripting Help 04/11/2018, 07:11 PM
Replies: 11
Views: 369
Posted By tonto125
Re: OnPlayerDisconnect problems

No, there is only one OnPlayerDisconnect in my script. If I change the whole of the OnPlayerDisconnect to a comment, it carries the error down to OnPlayerDeath which is the next function in line.
Forum: Scripting Help 04/11/2018, 03:14 PM
Replies: 11
Views: 369
Posted By tonto125
Re: OnPlayerDisconnect problems

We've updated to the latest YSI and a_samp includes, but still nothing.
Forum: Scripting Help 04/11/2018, 02:59 PM
Replies: 11
Views: 369
Posted By tonto125
Re: OnPlayerDisconnect problems

The ending bracket is there, it's just the OnPlayerDisconnect is very long.
Heres the whole piece of code.
public OnPlayerDisconnect(playerid, reason)
{
if(IsLoaded[playerid]) IsLoaded[playerid]...
Forum: Scripting Help 04/11/2018, 02:47 PM
Replies: 11
Views: 369
Posted By tonto125
Angry OnPlayerDisconnect problems

Hi,

I'm getting these errors

C:\Users\Willybum\Desktop\California Roleplay\gamemodes\CARP.pwn(17549) : error 025: function heading differs from prototype
C:\Users\Willybum\Desktop\California...
Showing results 1 to 9 of 9

 

All times are GMT. The time now is 04:20 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.