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...
111
Is your function LoadStats there? Have you tried use "print" to debug messages and see if LoadStats function is being parsed before the crash?
156
You can use the new plugin FCNPC. Looks quite promising and has many functions.
87
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!");Â...
177
https://sampwiki.blast.hk/wiki/OnRconCommand Read the Important note
93
are you sure its called score and not Score, scOre ScoRE or something else?
169
Change the "u" with "d". "u" is for players and "d" is for any number(not float)
64
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.
189
Read this about 2nd https://sampforum.blast.hk/showthread.php?tid=282801
109
return (floatround(retres * 100, floatround_ceil)*1.6);
70
replace this StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOO T, NPC); with this StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOO T, rec);
67
Are you sure that these settings are correct? pawn Код: SetPlayerInterior(playerid, 100);SetPlayerVirtualWorld(playerid, 100);SetPlayerPos(playerid, 1784.8574,-1841.2489,266.3188);SetPlayerFacingA...
116
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.
92
The most simple way is to range ban them. Or you can improve your anticheat for example if (oldVehHP == 1000 && newVehHP == 0) Ban(HAXXOR!)
141
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...
80
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.
275
Do you crash when you go at the pickup or when you "answer" through the dialog?
116
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 ...
107
https://sampforum.blast.hk/showthread.php?tid=92 Make sure you read wiki, it contains a lot of information.
98
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...
102