SA-MP Forums Archive
[FIXED]help wtf!!!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [FIXED]help wtf!!!! (/showthread.php?tid=78133)



[FIXED]help wtf!!!! - gpclan - 17.05.2009

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-.-


Re: help wtf!!!! - SpiderPork - 17.05.2009

It may be your script or the water problem. If you die in water, you often crash.


Re: help wtf!!!! - Correlli - 17.05.2009

Show your code at OnPlayerDeath callback, there's probably something wrong which causes you to crash.


Re: help wtf!!!! - Badger(new) - 17.05.2009

do you crash all the time, or sometimes. Also Check the following callbacks:
pawn Код:
public OnPlayerSpawn(playerid)
public OnPayerDeath(playerid)



Re: help wtf!!!! - Lion2 - 17.05.2009

I know this Problem

You must put "RespawnPlayer" or so ( I don't know the right form ) under "OnPlayerDeath)


Re: help wtf!!!! - gpclan - 17.05.2009

crashes all the time

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	return 1;
}
i got noting in player death


Re: help wtf!!!! - Correlli - 17.05.2009

Hm.. Do you and your friends have mods installed for the GTA: San Andreas?


Re: help wtf!!!! - Lion2 - 17.05.2009

try it like this:

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  SetPlayerToRespawn(playerid);
  return 1;
}



Re: help wtf!!!! - gpclan - 17.05.2009

Код:
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.
and no they dont have mods installed


Re: help wtf!!!! - Correlli - 17.05.2009

Quote:
Originally Posted by Lion2
try it like this:

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  SetPlayerToRespawn(playerid);
  return 1;
}
That function doesn't exist in SA-MP unless you create it.