Little help
#1

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerPos(playerid,-1514.7246,2524.8870,55.7863);
    SetPlayerFacingAngle(playerid, 0.5606);
    GivePlayerMoney(playerid,-200);
    SendClientMessage(playerid,COLOR_RED,"You payed 200 $ for your medical bill. You were");
    SendClientMessage(playerid,COLOR_RED,"found nearly dead. You are lucky you're even alive.");
    SendClientMessage(playerid,COLOR_RED,"Thank you, and have a nice day.");
    return 1;
}
I want when someone die to spawn at El Querbrados hospital, but there is problem ...
When you die, you spawn at the hospital and there you fall on the ground and die again and spawn at the AddPlayerClass possition. How to fix it?
Reply


Messages In This Thread
Little help - by Anzhelov - 20.02.2011, 00:54
Re: Little help - by Marricio - 20.02.2011, 00:57
Re: Little help - by Anzhelov - 20.02.2011, 01:05
Re: Little help - by AlExAlExAlEx - 20.02.2011, 01:57
Re: Little help - by Stigg - 20.02.2011, 02:00
Re: Little help - by Serbish - 20.02.2011, 02:25

Forum Jump:


Users browsing this thread: 1 Guest(s)