/signcheck command?
#1

is this possible? its really annoying when you talking and like all the stuff comes up.
Reply
#2

Wait, what?
Reply
#3

Reply
#4

Maybe you could explain what you mean, because we have no idea what you mean with that. With /signcheck I could also be teleported to LS, so the command's name doesn't explain anything. You'll have to tell us what it should do, then we tell you if it's possible or not. But to already let you know, almost everything is possible to create within the PAWN language.

Best regards,
Jesse
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)