SA-MP Forums Archive
isapt - 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: isapt (/showthread.php?tid=621425)



my samp compiler give me error on IsAPt how can i fix it? - ArianMansori - 10.11.2016

IsAPt(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "LA Public Transporation: {FFFFFF} /duty /r");
if(IsAPt(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "LA Public Trans FACTION LEADER: {FFFFFF} /invite /uninvite /setrank /adjustrankname ");

error 017: undefined symbol "IsAPt"


Re: isapt - ArianMansori - 10.11.2016

Quote:
Originally Posted by TopShooter
Посмотреть сообщение
Show the full code between [PHP] tags, full code because I see that you are missing some code, show the full command code not only a part of it.
CMD:factionhelp(playerid, params[])
{
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
if(!PlayerInfo[playerid][pFac]) return SendClientMessage(playerid, COLOR_GREY, "You are not in a faction.");
This one?