Search Results
U missed some { } anyway Код: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_WEPS1) { if(response) { if (listitem == 0) { Game...
87
You can use OnPlayerDisconnect and OnPlayerConnect to update your variable, and then use the timer just to show the sendclientmessage. Код: new onlinePlayers = 0; public OnPlayerConnect(playerid...
109
Its a gametext https://sampwiki.blast.hk/wiki/GameTextForPlayer Then use https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup to show the gametext EDIT: Not updated page.
135
Max input size is 128 in all cases. Doesn't matter what is
114
Maybe you compile the script w/ another Pawn and it dont have the include. Open pawn.exe (where you put the include) then open the file and compile.
76
I cant understand how this can help the scripter. By surfing in the code i dont find anything of useful at all. Maybe i'm wrong, we will see.. A framework should provide a simple way to do the basic...
532
Post just one command please, just to see if you do something wrong.
189
You use Y_INI to manage your files? (https://sampforum.blast.hk/showthread.php?tid=175565) Use https://sampwiki.blast.hk/wiki/ShowPlayerDialog to show a dialog to the player (use style DIALOG_STYLE_I...
76
Use fremove to delete a file. https://sampwiki.blast.hk/wiki/Fremove Anyway you create your labels with the dynamic function?
138
Create a file called pawn.cfg inside your pawno folder, inside it write -d3 Compile again your gamemode
86
I think you have a id-collision problem. Post your moveradar code anyway.
138
When the server crash? Compile your gamemode with -d3, so crashdetect report more info.
86
You first reset the value of timpl to 0, then you destroy the label.. the code will destroy the label-id 0. Remove this line: Код: timcr[playerid] = 0; And if you need to reset t...
138
New foreach use this syntax: foreach(new {var_name}:{iteration}) You use this too?
82
https://sampwiki.blast.hk/wiki/Debugging Where the code stops to work? EDIT: Код: new fstring[128],file[128],string[256]; //The string for the file [format] format(fstring, 128, "Houses...
115
Make sure you open the right PAWNO. Open the pawno.exe inside the folder where you put your include.
158
Houses/%d.ini Your length is 12. 12 + (4 (if your max id is 1000)) + 1 Use 17 as size. Anyway, be more specific but i'm sure your problem is fstring size. (If you debug your code first of post a t...
115
A bit more logic: When the player log in as admin you remove bounds SetPlayerWorldBounds (playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000); inside https://sampwiki.blast.hk/wiki/OnRconLo...
132