help a little
#5

Quote:
Originally Posted by MBilal
Посмотреть сообщение
Код:
public
OnPlayerEnterCheckpoint
(playerid)
{
if(gTeam[playerid] ==
TEAM_HUMAN) {
GameTextForPlayer
(playerid,"~r~ You have
cleared the
checkpoint.",6000,4);
SendClientMessageToAll
(PURPLE,"You have been
given 5000$");
SendClientMessageToAll
(PURPLE,"You have been
given Medical Attention.");
SetPlayerScore
(playerid, GetPlayerScore
(playerid) + 1);
SetPlayerHealth
(playerid, 100);
GivePlayerMoney
(playerid,5000);
DisablePlayerCheckpoint(playerid);
}
if(gTeam[playerid] ==
TEAM_ZOMBIE) {
GameTextForPlayer
(playerid,"~g~ Fuck those
survivors.",6000,4);
DisablePlayerCheckpoint(playerid);
}
return 1;
}
Disable player cp when he enter and got money and health.
i dont want to disable cp until the next cp comes bro
Reply


Messages In This Thread
help a little - by Owen007 - 22.06.2016, 10:35
Re: help a little - by luke49 - 22.06.2016, 10:48
Re: help a little - by Owen007 - 22.06.2016, 10:53
Re: help a little - by MBilal - 22.06.2016, 11:03
Re: help a little - by Owen007 - 22.06.2016, 11:06
Re: help a little - by luke49 - 22.06.2016, 11:12

Forum Jump:


Users browsing this thread: 1 Guest(s)