01.06.2015, 21:20
When I die in game first time it spawns me in my cords but when I die second time it spawns me in that stupid village I tried everything and looked on every thread to fix this nothing helped. Nothing works please help I on a nerve wreck :O
Код:
public OnPlayerDeath(playerid, killerid, reason) { PlayerInfo[killerid][pUbistva]++; PlayerInfo[playerid][pSmrti]++; Died[playerid] = 1; SetPlayerPos(playerid, 1714.8339, -1912.6870, 13.5666); SpawnPlayer(playerid); return 1; } public OnPlayerSpawn(playerid) { if (Died[playerid] == 1) { SetPlayerPos(playerid, 1714.8339, -1912.6870, 13.5666); SpawnPlayer(playerid); return 1; } return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1714.8339, -1912.6870, 13.5666); SpawnPlayer(playerid); return 1; }