SA-MP Forums Archive
/signcheck command? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /signcheck command? (/showthread.php?tid=344974)



/signcheck command? - Evation - 23.05.2012

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


Re: /signcheck command? - miokie - 23.05.2012

Wait, what?


Re: /signcheck command? - Mandrakke - 23.05.2012




Re: /signcheck command? - jessejanssen - 23.05.2012

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


Re: /signcheck command? - sampmark05 - 23.05.2012

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;
}