/accept - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /accept (
/showthread.php?tid=87337)
/accept -
JadedJ - 19.07.2009
I can't find how have a player accept a challenge or sale from another player. Can I put an "if" in my command or do I need to make an whole accept command for each?
Re: /accept -
James_Alex - 19.07.2009
easy you can use like this:
pawn Код:
new pToAccept[MAX_PLAYERS];
new pInvited[MAX_PLAYERS];
pToAccept[target] = playerid;
pInvited[playerid] = target;
then use in the /accept command use PtoAccept[playerid]
Re: /accept -
JadedJ - 19.07.2009
I guess I couldn't see the forest because of the trees. Thx
Re: /accept -
James_Alex - 19.07.2009
you're welcome