18.02.2012, 14:06
I have been making a hospital sistem but i am stuck i get errors i haev this
I place that under the OnPlayerDeath but i get errors i have a public also made but how can make
OnPlayerDeath so only when a player kills another player he is sent in the hospital??
Код:
SetPlayerPos(playerid, 2169.69995117,-2270.99951172,990.70001221); FreezePlayer(playerid, 2); switch (cmdtext[7]) { case '1': LoopingAnim(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); { SetTimer(*Bolnica*, 60000, false); CekaBolnica[playerid] = 1; SendClientMessage(playerid, COLOR_RED, "Tesko Ste Povredeni i Ke bidnete prefrleni vo Bolnica");
OnPlayerDeath so only when a player kills another player he is sent in the hospital??