/signcheck command?
#5

if(strcmp(cmd, "/signcheck", true) == 0)
{
if(PlayerInfo[playerid][pCheck] == 1)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /signcheck [check number]");
return 1;
}
new checknumber = strval(tmp);
if(checknumber == CheckNumber[playerid])
{
SendPayCheck(playerid);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Invalid check number.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You don't have a check ready to pick up.");
return 1;
}
return 1;
}
Reply


Messages In This Thread
/signcheck command? - by Evation - 23.05.2012, 12:32
Re: /signcheck command? - by miokie - 23.05.2012, 12:59
Re: /signcheck command? - by Mandrakke - 23.05.2012, 13:04
Re: /signcheck command? - by jessejanssen - 23.05.2012, 13:06
Re: /signcheck command? - by sampmark05 - 23.05.2012, 13:38

Forum Jump:


Users browsing this thread: 6 Guest(s)