08.11.2009, 09:40
i have a small problem
im making a new script with comptons starter kit
and as soon as i die it teles me to hospital i stand there for 1 second then die properly and spawn again where i spawn when i join the game(login)
what do i do so i stay at the hospital?
im making a new script with comptons starter kit
and as soon as i die it teles me to hospital i stand there for 1 second then die properly and spawn again where i spawn when i join the game(login)
what do i do so i stay at the hospital?
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerPos(playerid, 1178.1852,-1323.3883,14.1076);
SendClientMessage(playerid, COLOR_PINK, "YOU GOT ****** UP");
GivePlayerMoney(playerid, -20);
return 1;
}


Hope it helped, im not a very good scripter
