SA-MP Forums Archive
why that erorrs !!!!? - 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: why that erorrs !!!!? (/showthread.php?tid=617950)



why that erorrs !!!!? - vikoo - 28.09.2016

Hello, i got that errors when i compiled my gamemode.
but my gamemode is work 100% why i got that


Re: why that erorrs !!!!? - SickAttack - 28.09.2016

Get sscanf: https://sampforum.blast.hk/showthread.php?tid=602923


Re: why that erorrs !!!!? - vikoo - 28.09.2016

it's not fix
but i when i delete that it's compile
i think that's have a problem but i need it
Код:
//help commands//
/CMD:helpmone(playerid,params[])
{
    //check if the player is a admin
	if(PlayerInfo[playerid][Level] >= 12 || IsPlayerAdmin(playerid)) {
	
    SendClientMessageToAll(red,"[SERVER INFO]:If you see any cheater,rulebreaker or bug abuser. Please report him/her via /report!");
	return 1;
}

CMD:helpmtwo(playerid,params[])
{
    //check if the player is a admin
	if(PlayerInfo[playerid][Level] >= 12 || IsPlayerAdmin(playerid)) {

     SendClientMessageToAll(red,"[SERVER INFO]:Welcome to the server ! Please be kind & be friendly !");
    
	return 1;
}

CMD:helpmthree(playerid,params[])
{
    //check if the player is a admin
	if(PlayerInfo[playerid][Level] >= 12 || IsPlayerAdmin(playerid)) {
    SendClientMessageToAll(red,"[SERVER INFO]:Welcome ! Use /register to save your stats !");
	return 1;
}



Re: why that erorrs !!!!? - J0sh... - 29.09.2016

You have an open bracket after IsPlayerAdmin()) { but it doesn't have a closed bracket. Just remove it.


Re: why that erorrs !!!!? - SickAttack - 29.09.2016

They're missing the closing curly braces.


Re: why that erorrs !!!!? - vikoo - 29.09.2016

Jamester and SickAttack thx so much it's Fixed