SA-MP Forums Archive
Pawno Compiler Output {reps} - 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: Pawno Compiler Output {reps} (/showthread.php?tid=507874)



Pawno Compiler Output {reps} - UfsDev - 19.04.2014

Код:
ERROR (4239): if (!strcmp("/cmds", cmdtext, true)) {
ERROR (4246):return 1;
WARNING (4907):if(GetPlayerState(playerid) == PLAYER_STATE_WASTED) return SendClientMessage(playerid, -1, "You cannot use this right now."); // Disables command if user is dead. I believe the players state is PLAYER_STATE_WASTED when they are in class selection.
    return true;
Код:
if (!strcmp("/cmds", cmdtext, true)) {
    {
            strcat(stringx, "{FF0000}Player:{FFFFFF} /O = Body objects  /Skin = Change your skin  /kill = suicide  /Pm {id} {message}  /mycolor = change your color\n/Ptele {ID}  /Top5\n\n");
            strcat(stringx, "{FFFFFF} /Teles = important teleport  /Teleports = Many Teleports + Cities\n\n");
            strcat(stringx, "{FFFFFF} /Car [name/id]  /V = Vehicles List  Press 'HORN' button to fix car\n\n");
            strcat(stringx, "{FFFFFF} /Admins = Show online admins\n\n");
            ShowPlayerDialog(playerid, DIALOG_DCMDS, DIALOG_STYLE_MSGBOX, "{FFFF00}StuntNoobZ - Rules!",stringx,"Okay","");
            return 1;
        }
Код:
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4239) : error 010: invalid function or declaration
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4246) : error 010: invalid function or declaration
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4907) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: Pawno Compiler Output {reps} - ]Rafaellos[ - 19.04.2014

Maybe show all the command.


Re: Pawno Compiler Output {reps} - Astralis - 19.04.2014

https://sampforum.blast.hk/showthread.php?tid=507800


Re: Pawno Compiler Output {reps} - UfsDev - 19.04.2014

bump