15.08.2010, 19:01
please anyone help me!!!!!!!
i made a command that teles a player but if he is in a car i want it to tele him and the car i can do it no probs but it dosnt put him in the car so i tried to make it it works but i get this with server unknown command :
then if he isnt in a car it dosnt tele him it gives the same error and it dosnt tele!!!
help me please!!!!
code is:
i made a command that teles a player but if he is in a car i want it to tele him and the car i can do it no probs but it dosnt put him in the car so i tried to make it it works but i get this with server unknown command :
then if he isnt in a car it dosnt tele him it gives the same error and it dosnt tele!!!
help me please!!!!
code is:
PHP Code:
if (IsPlayerInAnyVehicle(playerid)== 1)
SetVehiclePos(GetPlayerVehicleID(playerid), 1458.1984,1559.2050,10.8125);
PutPlayerInVehicle(playerid);
}else{
SendClientMessage(playerid,COLOR_GREEN, "Welcome to Stunt2");
SetPlayerPos(playerid,1458.1984,1559.2050,10.8125);
return 1;
}