18.12.2012, 15:38
pawn Код:
if(strcmp(cmdtext,"/skydive",true)==0)
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
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;
}