Search Results
The server log is saying you're running sscanf version 0.3d-R2 on a 0.3z server.
117
Have you tried recompiling your script after updating your plugins and includes?
117
Try updating your plugins and includes.
117
I assume the vehicle's fuel is being set at 0 when you create it. If it's your gamemode then I guess you know how to fix this. If you're using a fuel system filterscript then just look into the code a...
96
First create a dynamic area using one of the several functions:
pawn Код:
new area_1 = CreateDynamicCircle(Float:x, Float:y, Float:size, worldid = -1, interiorid = -1, playerid = -1);
Then you can...
123
That's just not how foreach works. It should be used like this:
pawn Код:
foreach(new i : Players)
"i" is where the playerid is stored and "Players" is an iterator. When a player connects they are...
196
Instead of using this in every command or function you write:
pawn Код:
return SendClientMessage(playerid, COLOR_RED, "Command not found on the server! /help");
Just simply use this:
pawn Код:...
102
Yeah running that stock for every player on your server basically every second probably will create lag (depending on how many players are on your server). I recommend using the area functions in Inco...
123
Are you using a gamemode someone else has made or is it your own gamemode?
96
I recommend simply using an in-game textdraw editor such as this one and loading in both textdraws and positioning them in there.
59
I don't wanna dig into your code but I'll show you how to do what you want to do and you can simply implement it where you want.
pawn Код:
new chance = random(1); //can be 0, or 1switch(chance){ ...
73
Yeah that makes complete sense, I should've thought of that, I would imagine what I'm doing would work though. I remember there was a ton of documentation on ******' GitHub I think but obviously that'...
86
I know what this warning means, but I shouldn't be getting it.
In an /ame command:
pawn Код:
new action[500];if(sscanf(params, "s[500]", action))
I know it shouldn't be 500, it should be 124 (wh...
86
Thanks for the reply but I found an alternative to what you suggested. It's probably bad practice or something but I used this:
pawn Код:
if(sscanf(params, "s[12]I(-1)I(-1)", task, id, hour))
afte...
96
I have a command to create and manage businesses, with the parameters being task (string), business ID (integer) and business name (string).
pawn Код:
if(sscanf(params, "s[12]I(-1)S(null)[20]", t...
96
Could you possibly explain how you mean?
134
I've got a basic player item system, and the items are stored like this:
Items[playerid][itemid][various item details spread along these indexes]
but what I want is something like:
Items[playerid][...
134
Does anyone know how I can stop per-player timers?
I've tried to do something like this:
Код:
new Timer:TutorialTimer[MAX_PLAYERS];
TutorialTimer[playerid] = defer Tutorial_2(playerid);
timer T...
1,850
Yeah I guess I just completely forgot when writing it that it was an integer and yep it all works perfectly without fixes2, it's really weird. I'll give that plugin a try instead, thanks.
215