12.10.2014, 19:52
You are doing it wrong. The correct way would be,
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 5, 316.524993, -167.706985, 999.593750)) // LSPD ARMOURY
{
new world = GetPlayerVirtualWorld(playerid);
if(world == 6775)
{
SetPlayerPosEx(playerid, 5, 1525.2760, -1677.8524, 5.8906);
SetPlayerVirtualWorld(playerid, 0);
}
else if(world == 6776)
{
SetPlayerPosEx(playerid, 5, 1525.2760, -1677.8524, 5.8906);
SetPlayerVirtualWorld(playerid, 0);
}
else if(world == 6777)
{
SetPlayerPosEx(playerid, 5, 941.09, -1718.44, 13.97);
SetPlayerVirtualWorld(playerid, 0);
}
}