20.02.2011, 00:54
Код:
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; }
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?