Pawno Compiler Output {reps}
#1

Код:
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.
Reply
#2

Maybe show all the command.
Reply
#3

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

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)