Search Results
deleted line 33 return 1; also that should do it,would of been exiting there when the player has no object ids yet
pawn Код:
#include <a_samp>new nrg[MAX_PLAYERS][7];public OnFilterScriptIni...
33
try this
pawn Код:
#include <a_samp>new nrg[MAX_PLAYERS][7];public OnFilterScriptInit() return print("[FS]NRG Mod Loader!");public OnFilterScriptExit() { for(new i=0; i < MAX_PLAYERS...
33
cant see it what does PED_Stop(0); do?
80
pawn Код:
new string[24] = "up to 24 letters";
like this?
actually do you mean like this
pawn Код:
new label[24];copy(label,params,sizeof(label));
29
can you post PED_SetFacingPlayer(0, playerid) not setfacingpoint please
80
if 250 is greater then the vehicle health?
pawn Код:
if(vh < 250) return
33
yeah there is its 1000 i belive or you can just define you own too
pawn Code:
@define MAX_SOMETHINGELSE 1234
then you can use your custom one
pawn Code:
new array[MAX_SOMETHINGELSE];
82
this is my old one
pawn Код:
new weapon2,ammo2; new minimsg[MAX_STRING]; new cheater[MAX_PLAYER_NAME];for (new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i) &...
28
you dont have to write out every if statment to get the same result you could do something like
pawn Код:
new w[MAX_PLAYERS][47]; //ARRAY 47 SLOTS FOR EACH PLAYERS (put where your w%d var's ar...
80
when the player selects the class, how do you set the var, would be something like;
Код:
Team[playerid]=TEAM_AFGHANISTAN; // or
Team[playerid]=TEAM_ASSULT;
so you can check it with your "if" statm...
42
where do you change the Team[playerid] for the player?
42
you havent defined gPlayerClass did you just all the code in from somewhere?
show from line 85
31
can use getdate and save the year month day is that what you mean
have a look at this
http://www.compuphase.com/pawn/Time_Functions.pdf
55
take the space out of "player id" and make it "playerid"
163
not really sorry do you also want to save that date that they register?
55
if you look in dini.inc there is lots of examples of how to read a file or use file function
im a but rusty with it but i gutted dini_get to make this quickly
should print eack line of the file to t...
81
I did this a while back for a old game mode
i got the tickcount when they joined and disconected then
Subtracted the connect tickcount from the disconnect tickcount and saved that number
then timeco...
55
Quote:
Originally Posted by (SF)Noobanatior
this should add it to everyone else on the server
Код:
Prop[playerid] = CreatePlayerObject(playerid, PropPositions[ii][ModelID], PropPositio...
35
this should add it to everyone else on the server
Код:
Prop[playerid] = CreatePlayerObject(playerid, PropPositions[ii][ModelID], PropPositions[ii][Offset][0], PropPositions[ii][Offset][1], PropPos...
35