20.05.2014, 09:08
how to teleport with vehicles
when using /teleport
when using /teleport
SetVehiclePos
CMD:tele(playerid, params[])
{
if(GetPlayerState(playerid) == 2)
{
SetVehiclePos(GetPlayerVehicleID(playerid), Float:x, Float:y, Float:z);
}
else
{
SetPlayerPos(playerid, Float:x, Float:t, Float:z);
}
return 1;
}