/call hydra
#1

Hey guys currently i have a command called /call hydra that when used it will CreateVehicle and place you inside it. But i'm struggling to work out how to stop it respawning....

E.g. if a player /call hydra and for example crashes into a building that vehicle is gone and will not reappear on the Carrier.

Here is the command code at the moment.

pawn Код:
if(strcmp(cmdtext, "/call hydra", true) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 7, 2728.0461,-2302.7786,16.5892))
    {
    GetPlayerPos(playerid,X,Y,Z);
    PutPlayerInVehicle(playerid, CreateVehicle(520,X,Y,Z,0,-1,-1,-1),0);
    return 1;
    }
}
Reply


Messages In This Thread
/call hydra - by =AV=Gibson - 10.04.2011, 22:16
Re: /call hydra - by Tommy_Mandaz - 11.04.2011, 00:27
Re: /call hydra - by =AV=Gibson - 11.04.2011, 06:39
Re: /call hydra - by =AV=Gibson - 11.04.2011, 06:49
Respuesta: /call hydra - by usrb1n - 11.04.2011, 06:58
Re: /call hydra - by Mean - 11.04.2011, 08:39

Forum Jump:


Users browsing this thread: 2 Guest(s)