death problem
#1

this thing happening to me some times,but now always.
when player killed in my server,so there client crashes,why this is happening?
Reply
#2

It would help to show us what's under:

OnplayerDeath and OnPlayerSpawn
Reply
#3

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;
}
Reply
#4

Try to use one mega topic for your help as I see like a billion threads.

Paste your "ToD_OnPlayerSpawn"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)