17.05.2009, 15:51
ok heres my problem when i die in my server or someone dies we crash crash like takes u to a destop and says something-.-
public OnPlayerSpawn(playerid)
public OnPayerDeath(playerid)
public OnPlayerDeath(playerid, killerid, reason) { return 1; }
public OnPlayerDeath(playerid, killerid, reason) { SetPlayerToRespawn(playerid); return 1; }
C:\Users\emergency account\Desktop\new server\gamemodes\tokyo3.pwn(614) : error 017: undefined symbol "SetPlayerToRespawn" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Originally Posted by Lion2
try it like this:
Код:
public OnPlayerDeath(playerid, killerid, reason) { SetPlayerToRespawn(playerid); return 1; } |