is player in car
#1

Hi i would like to know how i can make it that if they choose this list from a dialog they have to be in a car if they car not it sends a message telling them to get in a car first.

Many thanks

Код:
   if(listitem == 0)
{
    SetPlayerRaceCheckpoint(playerid, 0, -1795.0421, 1103.3732, 45.0752, -1930.9707, 1076.5671, 50.9935, 100);
    Sfrace[playerid] = 1; // This will change the variable, so we can use it later on with OnPlayerEnterCheckpoint
	SetPlayerPos(playerid,-1715.7688,1103.5144,45.2969);
    SendClientMessage(playerid, 0xFFFFFFFF, "You Start The San Ferrio Street Race Challange. Please follow the checkpoints");
    Sfracetimer = SetTimer("TimedCountdown", 1000, true);
    return 1;
}
Reply


Messages In This Thread
is player in car - by manchestera - 05.11.2011, 11:54
Re: is player in car - by Pinguinn - 05.11.2011, 11:55
Re: is player in car - by manchestera - 05.11.2011, 12:01
Re: is player in car - by sleepysnowflake - 05.11.2011, 12:06
Re: is player in car - by manchestera - 05.11.2011, 12:10
Re: is player in car - by FTLOG - 05.11.2011, 12:14

Forum Jump:


Users browsing this thread: 4 Guest(s)