06.07.2010, 12:18
Check comments in brackets.
When in doubt, change something, compile and test and see what difference it makes!
Quote:
SetPlayerPos(playerid, 446.9658,1399.1479,1084.3047); -- This [moves the player to the coordinates provided]
else if(hqlock[iolock] == 0) -- This [checks the value of hqlock[iolock] to see if its 0. no idea what this variable is] SetPlayerPos(playerid, 318.4700,1117.5127,1083.882; -- This [see above] else if (PlayerToPointStripped(1, playerid,447.0208,1397.4796,1084.3047, cx,cy,cz)) -- This [presumably a player in range of point check. difficult to know for sure without seeing the definition of this function] SetPlayerPos(playerid, 2501.8979,-1495.7324,24.0000); -- This [see above] GameTextForPlayer(playerid, "~w~Los Angeles",5000,1); -- This [displayes game text to the player screen] SetPlayerInterior(playerid,0); -- This [changes the players interior] SetPlayerFacingAngle(playerid, 179); -- This [changes the angle the player is viewing] PlayerInfo[playerid][pInt] = 0; -- This [storing the players new interior] else if (PlayerToPointStripped(1, playerid,2091.5896,-1184.2958,27.0571, cx,cy,cz)) -- This [see above] |