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
http://forum.sa-mp.com/index.php?topic=119947.0
94
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
Use IsPlayerInArea or somin.
187
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