PDA

View Full Version : Some Errors


Uday
25/07/2014, 02:45 PM
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 (c) 1997-2006, ITB CompuPhase


6 Errors.

Line 12892 -
//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

SHE790
25/07/2014, 02:48 PM
Show me line 12879 and ur enum

rockhopper
25/07/2014, 02:53 PM
Show us your code ... Nicely