03.11.2009, 05:07
Okay I need some help on how to put a icon at a random place and then when a player goes on that icon he is automatically enterd into the interior without typing /enter etc.
Ive got this for an example:
All i need to know is where to put this code.
THanks
Ive got this for an example:
Код:
if (PlayerToPoint(3.0, playerid,-1494.3143,920.1636,7.1875)) { SetPlayerInterior(playerid,3); SetPlayerPos(playerid,387.7978,173.8582,1008.3828); GameTextForPlayer(playerid, "~w~Welcome to City Hall", 5000, 1); PlayerInfo[playerid][pInt] = 3; PlayerInfo[playerid][pLocal] = 241; }
THanks