18.12.2012, 16:17
pawn Код:
if(strcmp(cmdtext,"/skydive",true)==0)
{
if(IsPlayerInAnyVehicle(playerid))
{
LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
SetVehiclePos(GetPlayerVehicleID(playerid),3443.69995117,540.90002441,2014.00000000);
}
else
{
SetPlayerPos(playerid,3443.69995117,540.90002441,2014.00000000);
GameTextForPlayer(playerid,"Sky Dive ._.",4000,6);
SetPlayerInterior(playerid,0);
}
return true;
}