plz need help with /god with sscanf+zcmd
#7

pawn Код:
CMD:god(playerid, params[])
{
new id;
if(sscanf(params, "u", id)) return SendClientMessage(playerid, -1, "USAGE : /god [playerid/part of name]");
if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "wrong id");
SetPlayerHealth(id, 1000000);
SetPlayerArmour(id, 1000000);
return 1;
}
if more errors come, please show the code in the lines along with the errors.
Reply


Messages In This Thread
plz need help with /god with sscanf+zcmd - by mittukuttan - 24.01.2013, 15:18
Re: plz need help with /god with sscanf+zcmd - by mittukuttan - 24.01.2013, 15:20
Re: plz need help with /god with sscanf+zcmd - by [HK]Ryder[AN] - 24.01.2013, 15:22
Re: plz need help with /god with sscanf+zcmd - by mittukuttan - 24.01.2013, 15:23
Re: plz need help with /god with sscanf+zcmd - by DaRk_RaiN - 24.01.2013, 15:27
Re: plz need help with /god with sscanf+zcmd - by mittukuttan - 24.01.2013, 15:33
Re: plz need help with /god with sscanf+zcmd - by [HK]Ryder[AN] - 24.01.2013, 15:35
Re: plz need help with /god with sscanf+zcmd - by LarzI - 24.01.2013, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)