C:\Users\mugur\Desktop\MAIN-ROLEPLAY\pawno\include\easydialog.inc(112) : error 017: undefined symbol "DG_OnDialogResponse" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(261) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "engine" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "objective" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "boot" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "bonnet" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "doors" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(295) : error 004: function "ProxDetector" is not implemented C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(317) : error 004: function "ProxDetector" is not implemented C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(326) : error 004: function "ProxDetector" is not implemented C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(385) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(436) : warning 217: loose indentation C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(440) : warning 217: loose indentation C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(443) : warning 217: loose indentation C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(443) : error 029: invalid expression, assumed zero C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(443) : error 017: undefined symbol "cmd_finvite" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(443) : error 029: invalid expression, assumed zero C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(443) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors.
new viata = GetVehicleHealth(vehicleid);
SetVehicleParamsForPlayer(vehicleid, 0, lights, alarm, doors, bonnet, boot, objective);
PlayerInfo[targetid][fRank] = 1;
|
pawn Code:
--- pawn Code:
--- pawn Code:
--- In /setleader you are missing a closed bracket which causes the error "function "ProxDetector" is not implemented" and "undefined symbol "cmd_finvite"". |
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\pawno\include\easydialog.inc(112) : error 017: undefined symbol "DG_OnDialogResponse" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 203: symbol is never used: "engine" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(296) : error 004: function "ProxDetector" is not implemented C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(318) : error 004: function "ProxDetector" is not implemented C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(327) : error 004: function "ProxDetector" is not implemented C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(437) : warning 217: loose indentation C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(441) : warning 217: loose indentation C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(444) : warning 217: loose indentation C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(444) : error 029: invalid expression, assumed zero C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(444) : error 017: undefined symbol "cmd_finvite" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(444) : error 029: invalid expression, assumed zero C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(444) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors.
CMD:setleader(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 6)
{
new targetid, facid;
if(sscanf(params,"ui",targetid, facid)) return SendClientMessage(playerid, COLOR_CYAN,"/setleader [id] [factiune]");//if the command is misused it will tell them the correct way to use it
if(targetid != INVALID_PLAYER_ID)
{
PlayerInfo[targetid][pFaction] = facid;
PlayerInfo[targetid][fRank] = 1;
PlayerInfo[targetid][pLeader] = facid;
if(facid == 1)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider EQPD!");
}
else if(facid == 2)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider EQFD!");
}
else if(facid == 3)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca primar!");
}
else if(facid == 4)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider EQN!");
}
else if(facid == 5)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider GANG1!");
}
else if(facid == 6)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider GANG2!");
}
else if(facid == 7)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider GANG3!");
}
else if(facid == 8)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider GANG4!");
}
else if(facid == 9)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider MAFIE1!");
}
else if(facid == 10)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider MAFIE2!");
}
else if(facid == 11)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider MAFIE3!");
}
else if(facid == 12)
{
SendClientMessage(targetid, COLOR_CYAN, "Ai fost promovat de un admin ca lider MAFIE4!");
}
}
} // HERE YOU MISSED }
else
{
SendClientMessage(playerid, COLOR_CYAN, "Nu esti autorizat.");
}
return 1;
}
make it easier or possible for (someone) to do something by offering them one's services or resources.