12.04.2009, 09:10
Hey guys, im trying to check if the players position is already stored in the variables, but cant really figure out how..
On top of my script i have:
Then my command:
Any1 know how?
Thnx
On top of my script i have:
pawn Код:
new Float:X1[MAX_PLAYERS];
new Float:Y1[MAX_PLAYERS];
new Float:Z1[MAX_PLAYERS];
Then my command:
pawn Код:
dcmd_acsav(playerid, params[])
{
new Choice = strval(params);
if(Choice == 1) {
if(!X1[playerid] && Y1[playerid] && Z1[playerid] > 0)) { // This wont really work lol
GetPlayerPos(playerid, X1[playerid], Y1[playerid], Z1[playerid]);
}
}
return 1;
}
Thnx