Search Results
You can "ObjectArray[0] = CreateObject"(the next object would be ObjectArray[1] and goes on) each object so they will have an ID and then you can use DestroyObject on a loop like
pawn Код:
loop si...
230
Is your function LoadStats there? Have you tried use "print" to debug messages and see if LoadStats function is being parsed before the crash?
235
You can use the new plugin FCNPC. Looks quite promising and has many functions.
165
pawn Код:
if(strcmp(cmd, "/vhealth", true) == 0){Â Â new carid = GetPlayerVehicleID(playerid);Â Â if(carid == 0) return SendClientMessage(playerid, COLOR_GREY, "* You are not in a vehicle!");Â...
339
https://sampwiki.blast.hk/wiki/OnRconCommand Read the Important note
163
are you sure its called score and not Score, scOre ScoRE or something else?
344
Change the "u" with "d".
"u" is for players and "d" is for any number(not float)
126
Quote:
Originally Posted by joachimnor
AVG is known for false positives
I never had any false reports. Only when using some memory edit programs, but still rarely.
379
Read this about 2nd
https://sampforum.blast.hk/showthread.php?tid=282801
207
return (floatround(retres * 100, floatround_ceil)*1.6);
137
replace this
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOO T, NPC);
with this
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOO T, rec);
138
Are you sure that these settings are correct?
pawn Код:
SetPlayerInterior(playerid, 100);SetPlayerVirtualWorld(playerid, 100);SetPlayerPos(playerid, 1784.8574,-1841.2489,266.3188);SetPlayerFacingA...
220
Create a global var which will store the seconds of the arrest and then make a timer which each second will reduce by 1 your var. Then make it if it's equal to 0, free him.
173
The most simple way is to range ban them. Or you can improve your anticheat for example
if (oldVehHP == 1000 && newVehHP == 0) Ban(HAXXOR!)
254
Yes. It can be "close" by setting all time the camera each X milliseconds but it will be laggy and not nice. In order to do this you need something like
1) Create a small(or invisible) object
2) Atta...
191
Quote:
Originally Posted by Tanush123
That doesn't do it, is it problem with my mysql because for Hex i put Char
Do you mean that the column is defined as Char? Then yes.
406
Do you crash when you go at the pickup or when you "answer" through the dialog?
220
About loose indentation take a look at this one https://sampforum.blast.hk/showthread.php?tid=274028
The other error i think was happening when you had a global variable and a local one with the same ...
196
https://sampforum.blast.hk/showthread.php?tid=92 Make sure you read wiki, it contains a lot of information.
179
As you use CP, you can use the OnPlayerEnterCheckpoint callback instead of a timer. Also you can have something like a cooldown after entering/exiting from somewhere. So you can have a var like this o...
195