Search Results
Quote:
Originally Posted by OverSwap
in the start of ur mod type this:
PHP код:
#pragma tabsize 0Â
Dont type tht, use this http://dracoblue.net/tidy/pawn/
160
Auto indent:
http://boylett.com/scripts/autoindent.php
74
Try creating the one which is behind, last.
83
http://forum.sa-mp.com/index.php?topic=165940.0
129
Try sumin like this
pawn Код:
new Car[25]; // At Toppublic OnPlayerStateChange(playerid,newstate,oldstate){Â if(newstate == 2)Â {Â Â Â if(IsPlayerPoliceCar(playerid))Â Â Â {Â Â Â Â if(Me...
162
Why dont you store the current date when they disconnect, then get the current date when they connect and work out the difference between the two?
163
I think thats what he wants, otherwise why display the gametext for everyone?
245
Try sumin like this.
pawn Код:
#define FILTERSCRIPT#include <a_samp>new Counter;#if defined FILTERSCRIPTpublic OnFilterScriptInit(){Â Counter = 0;Â return 1;}public OnFilterScriptExit(){Â...
245
pawn Код:
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(pla...
186
I dont think tht will work with Incognito's plugin
96
pawn Код:
switch(random(9)){case 0,1,2,3:{/// do something here}case 4,5,6:{/// do something here}case 7,8:/// do something here}}
187
Quote:
Originally Posted by Joe Torran C
pawn Код:
for(new i = 0; i<MAX_PLAYERS; i++){if(GetPlayerSkin(i) == 0) // CJ{GameTextForPlayer(i, "The CJ Skin is Taken", 2500, 4);}}
Th...
205
put forward ModeChange(); above public ModeChange()
107
http://forum.sa-mp.com/index.php?topic=69197.0
75
pawn Code:
#define carlist 20 //At toppublic OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){Â new Float:x, Float:y, Float:z,Float:ang;Â GetPlayerPos(playerid,x,y,z);Â GetPla...
121
You will need to set the colour again for the newly connected player.
124
You can use SetPVarString(playerid, varname[], string_value[]);
169