20.05.2010, 12:26
How can i change spawn place, in GF mode, and PENLS mode ? I'm beginner, so thanks anyway

public OnPlayerSpawn(playerid) { if (gdebug >=1){printf("OnPlayerSpawn Playerid:%d", playerid);} if (teamcarlock) { TeamLockDoors(playerid); } InitLockDoors(playerid); if(accountplay) { if (gdebug >=1){printf("accountplay");} if (gPlayerAccount[playerid] == 0) { gTeam[playerid] = 0; GameTextForPlayer(playerid, "~w~Example ~n~~r~/regnick (password)~w~ example", 20000, 3); //SetPlayerInterior(playerid,0); SetPlayerInterior(playerid,3); PlayerInfo[playerid][pInt] = 3; SetPlayerPos(playerid,198.5,162.5,1003.0); - Is that cordinates for player spawn... ?
SetPlayerPos(playerid,198.5,162.5,1003.0); - Is that cordinates for player spawn... ? |
AddPlayerClass(264,656.1570,-1636.5410,15.8617,6.7094,0,0,0,0,0,0); //
Originally Posted by Beginner....
Ok, i will try....Thanks !
In this code : Код:
AddPlayerClass(264,656.1570,-1636.5410,15.8617,6.7094,0,0,0,0,0,0); // In good order ![]() |
Originally Posted by Beginner....
SetPlayerPos(playerid,198.5,162.5,1003.0);
Im change a cordinates,but it doesnt work...Its spawn on old place, on server :S I'm change old AMX AND PWN with new.... ?? Why it doesnt work ? |
SetPlayerPos(playerid,198.5,162.5,1003.0);