SA-MP Forums Archive
Problems With Cmd /Invite - 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: Problems With Cmd /Invite (/showthread.php?tid=289210)



Problems With Cmd /Invite - shadauer - 10.10.2011

Hello Good Afternoon, I have a RPG server, and when a leader sends the invitation to Civil Gang Log In or organization,''says he has no invitation to be accepted''
Could someone help me?
I send the lines, is in Portuguese

pawn Код:
if(strcmp(cmd, "/convidar", true) == 0){if(IsPlayerConnected(playerid)){tmp = strtok(cmdtext, idx);if(!strlen(tmp)){SendClientMessage(playerid, COLOR_GRAD2, "USE: /convidar [playerid/Parte-do-Nick]");return 1;}new para1;para1 = ReturnUser(tmp);if (PlayerInfo[playerid][pLider] >= 1 || PlayerInfo[playerid][pCargo] == 5){new lolz = GetPlayerOrg(playerid);if(TemVaga(lolz) == 0){