09.01.2014, 13:04
Oh, I just noticed that now. Sorry, my mistake.
EDIT:
EDIT:
PHP код:
forward Life(playerid);
public Life(playerid)
{
if(pInfo[playerid][pLife] == 1)
{
if(pInfo[playerid][pAdmin] == 1)
{
SendClientMessage(playerid, COLOR_WHITE, "You cant have 1 life point without asking the owner!");
TogglePlayerControllable(playerid, 1);
}
else if(pInfo[playerid][pAdmin] == 0) return SendClientMessage(playerid, COLOR_WHITE, "You cant have 1 life point without asking the owner!");
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Loaded! you can play now.");
}
return 1;
}