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



Some Errors - Uday - 25.07.2014

Hello Friends,
Ive Got Some Errors -
Код:
C:\Users\mohinder pal\Desktop\Samp Server\gamemodes\cnr.pwn(12892) : error 035: argument type mismatch (argument 1)
C:\Users\mohinder pal\Desktop\Samp Server\gamemodes\cnr.pwn(12898) : error 029: invalid expression, assumed zero
C:\Users\mohinder pal\Desktop\Samp Server\gamemodes\cnr.pwn(12879) : warning 204: symbol is assigned a value that is never used: "Wanted"
C:\Users\mohinder pal\Desktop\Samp Server\gamemodes\cnr.pwn(12910) : error 029: invalid expression, assumed zero
C:\Users\mohinder pal\Desktop\Samp Server\gamemodes\cnr.pwn(12910) : error 029: invalid expression, assumed zero
C:\Users\mohinder pal\Desktop\Samp Server\gamemodes\cnr.pwn(12910) : error 029: invalid expression, assumed zero
C:\Users\mohinder pal\Desktop\Samp Server\gamemodes\cnr.pwn(12910) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Line 12892 -
pawn Код:
//SendClientMessage(playerid, COLOR_ERROR, "USAGE: /crimes (Name/Id).");
    //return 1;
    giveplayerid = playerid;
    }else{
   
    if(!isNumeric(tmp))
    {
    }giveplayerid = ReturnUser(playerid,tmp); //< This Line
    if(giveplayerid == INVALID_PLAYER_ID)
    {
    return 1;
    }
 }
    else
    {
    giveplayerid = strval(tmp);
    if(!IsPlayerConnected(giveplayerid))
    {
    format(string, sizeof(string), "%d Is Not A Valid ID.", giveplayerid);
    SendClientMessage(playerid, COLOR_ERROR, string);
    return 1;
    }
    }
    }
Other i will post later
- Uday



Re: Some Errors - SHE790 - 25.07.2014

Show me line 12879 and ur enum


Re: Some Errors - rockhopper - 25.07.2014

Show us your code ... Nicely