Search Results
strtok = sscanf. Saving user files = a SQL database or y_ini For commands: y_commands or zcmd.
89
https://sampforum.blast.hk/showthread.php?tid=254915
173
pawn Код: CMD:autorepair(playerid, params[]){    if(autorepair[playerid] == 0)    {        autorepair[playerid] = 1;        SendClientMessage(playerid, COLOR_GREEN, "( ! ) You turned o...
183
Right under the contest there is the link Anyway, here, direct link http://www.mediafire.com/?b74ixr65o4ff32a
76
You could have downloaded the inc and then see it pawn Код: stock minrand(min, max) //By Alex "******" Cole{    return random(max-min)+min;}
76
This one? https://sampwiki.blast.hk/wiki/Useful_Functions#minrand
76
Put this above line 2660 pawn Код: new string[128]; the second error put this at the buttom of your script pawn Код: stock bigstrtok(const string[], &idx){  new length = strlen(string)...
116
pawn Code: // This is a comment// uncomment the line below if you want to write a filterscript#define FILTERSCRIPT#include <a_samp>#if defined FILTERSCRIPT#define COLOR_BROWN   0x80800096publi...
127
Try this out pawn Код: dcmd_akill(playerid, params[]){    new Player2, string[128];    if(gPlayerInfo[playerid][PLAYER_LEVEL] < gCommands[AKILL])    {        if (sscanf(params, "u", ...
186
pawn Код: GetPlayerName(i, i_NameWanted, MAX_PLAYER_NAME);GetPlayerName(playerid, i_NameCop, MAX_PLAYER_NAME);// Also the first GetPlayerName had a ]
134
pawn Код: new setstring[128], playername[128];GetPlayerName(playerid,playername,sizeof(playername));format(setstring, sizeof(setstring), "[/MENIU]: %s Prisijungė prie policininkų darbo, jei nori...
62
You only defined the names? You need to GetThePlayer name aswell
159
pawn Код: public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){    if((newkeys == KEY_SUBMISSION) && IsPlayerInAnyVehicle(playerid))    {       ToggleEngine(playerid);     ...
84
https://sampwiki.blast.hk/wiki/AllowAdminTeleport
105
What to use when you want to call a cmd with zcmd? pawn Код: OnPlayerCommandText(playerid, "/cmd"); that one to zcmd?
85
The lines is not in the script but in the includes, try to re-download streamer & YSF
102
It would not kill the player if it was near the vehicle, it would kill the player right when the player pressed enter. But yeah OnPlayerStateChange is more realistic as you said
109