how do i
#2

Just make a check for each player with a simple array, when the player has typed the command in Check if the array = 1, if it dosen't Set it to 1 and spawn the vehicle.

Example:
At the top of yoru script:
pawn Код:
new HasSpawnedCar[MAX_PLAYERS];
In yoru command:
pawn Код:
if(HasSpawnedCar[playerid] == 0)
{
HasSpawnedCar[playerid] = 1;
//Spawn the vehicle here..
}
else
{
SendClientMessage(playerid,COLOR," You have already spawned a vehicle!");
}
I hope you understand what I mean.
Reply


Messages In This Thread
how do i - by [SW]thekillaer - 29.11.2009, 22:00
Re: how do i - by miokie - 29.11.2009, 22:43
Re: how do i - by [SW]thekillaer - 29.11.2009, 23:40
Re: how do i - by [SW]thekillaer - 29.11.2009, 23:59

Forum Jump:


Users browsing this thread: 1 Guest(s)