death problem - 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: death problem (
/showthread.php?tid=92232)
death problem -
sandisk125 - 19.08.2009
this thing happening to me some times,but now always.
when player killed in my server,so there client crashes,why this is happening?
Re: death problem -
Badger(new) - 19.08.2009
It would help to show us what's under:
OnplayerDeath and OnPlayerSpawn
Re: death problem -
sandisk125 - 19.08.2009
Quote:
Originally Posted by -The_Badger-
It would help to show us what's under:
OnplayerDeath and OnPlayerSpawn
|
pawn Код:
public OnPlayerSpawn(playerid)
{
SendClientMessage(playerid,COLOR_PINK,"Sucessfully Spawned!");
ToD_OnPlayerConnect(playerid);
SetTimer("timer",300000,true);
TogglePlayerClock(playerid,1);
PlayerPlaySound(playerid,SOUND_OFF,-1421.1034,1488.5735,11.8084);
ClearAnimations(playerid);
return 1;
}
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendClientMessage(playerid,COLOR_BRIGHTRED,"You Have Got Pwned");
SendClientMessage(killerid,COLOR_BRIGHTRED,"You Have Killed Someone,Now You Become A Murderer!");
GivePlayerMoney(killerid,2500);
return 1;
}
Re: death problem -
Calgon - 19.08.2009
Try to use one mega topic for your help as I see like a billion threads.
Paste your "ToD_OnPlayerSpawn"