Pawno error 029, and 017
#1

I have this piece of script, and its giving me this error.

C:\Users\Scoot\Desktop\CR-RP(LS)\GameModes\GLRP.pwn(17779) : error 029: invalid expression, assumed zero
C:\Users\Scoot\Desktop\CR-RP(LS)\GameModes\GLRP.pwn(17779) : error 017: undefined symbol "oprison"
C:\Users\Scoot\Desktop\CR-RP(LS)\GameModes\GLRP.pwn(17779) : error 029: invalid expression, assumed zero
C:\Users\Scoot\Desktop\CR-RP(LS)\GameModes\GLRP.pwn(17779) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.0.3367 Copyright © 1997-2005, ITB CompuPhase


4 Errors.

This is not the full piece of script.


Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    dcmd(oprison, 7, cmdtext);
    dcmd(ouninvite, 9, cmdtext);
    dcmd(unban, 5, cmdtext);
    dcmd(banaccount, 10, cmdtext);
    dcmd(setaccent, 9, cmdtext);
    dcmd(deleteaccount, 13, cmdtext);
    dcmd(duel, 4, cmdtext);

    if(gPlayerSpawned[playerid] == 0)
    {
        SendClientMessage(playerid, COLOR_GRAD1, "   You are not logged in or have not spawned !");
        return 1;
    }
Reply
#2

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    
dcmd(oprison7cmdtext);
    
dcmd(ouninvite9cmdtext);
    
dcmd(unban5cmdtext);
    
dcmd(banaccount10cmdtext);
    
dcmd(setaccent9cmdtext);
    
dcmd(deleteaccount13cmdtext);
    
dcmd(duel4cmdtext);
    if(
gPlayerSpawned[playerid] == 0)
    {
        
SendClientMessage(playeridCOLOR_GRAD1"   You are not logged in or have not spawned !");
    }
        return 
1;
    } 
Reply
#3

That code crashes pawn.. do you want the whole thing?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)