18.11.2016, 16:19
This command should put me on pos and int
Position is working.. But my int is still 0. Int is saved in DB and everything is loaded but it won't set my int.. Any ideas?
PHP код:
CMD:enter(playerid)
{
new org;
if(IsPlayerInRangeOfPoint(playerid, 2.0, OrgInfo[org][oExitX], OrgInfo[org][oExitY], OrgInfo[org][oExitZ]))
{
SPP(playerid, OrgInfo[org][oIntX], OrgInfo[org][oIntY], OrgInfo[org][oIntZ]);
SetPlayerInterior(playerid, OrgInfo[org][oInt]);
SetPlayerVirtualWorld(playerid, OrgInfo[org][oVW]);
return 1;
}
return 1;
}