SA-MP Forums Archive
I need help in Pawno Scripting look (Reply me fast please) - 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: I need help in Pawno Scripting look (Reply me fast please) (/showthread.php?tid=603084)



I need help in Pawno Scripting look (Reply me fast please) - MarkNelson - 18.03.2016

2 Errors.
Код:
C:\Users\infogenie\Desktop\Script\gamemodes\gungame.pwn(109) : error 010: invalid function or declaration
C:\Users\infogenie\Desktop\Script\gamemodes\gungame.pwn(116) : error 010: invalid function or declaration
C:\Users\infogenie\Desktop\Script\gamemodes\gungame.pwn(298) : warning 203: symbol is never used: "Rules"
C:\Users\infogenie\Desktop\Script\gamemodes\gungame.pwn(298 -- 305) : warning 203: symbol is never used: "Updates"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
look at the lines and help me fast please :
Код:
   PlayerStatus[playerid][level] =;
}
  PlayerStatus[playerid][dead] = true;
  PlayerStatus[playerid][pw] = true;
  TextDrawHideForPlayer(playerid, Respawn);
  TextDrawHideForPlayer(playerid, PlayerStatus[playerid][Health]);
  SetPlayerColor(playerid, 0xABCDEF01);
  return 1;
}
this is of Line 109 and 116
next :
Код:
 CMD:Rules(playerid, params[0])
 {
 ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "{00E0CD}The Packis Fight v0.5 Rules by CaptainTiggo:", "Do not abuse any bugs.\nDo not flame/provoke anyone.\nDo not use any kind of hacks or cheats , illegal mods\nDo not spam or flood.\nDo not ask for money, score, etc...\n----------------------------------------\nFailure to follow the rules will lead to punishments.\n----------------------------------------\nDo you agree to the server rules?", "Yes", "No");
 return 1;

}

 CMD:Updates(playerid, params[2])

{
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "{945FFF}Civils Fight v0.5 new updates(By CaptainTiggo):", "-New Updates Comming Soon....\n", "Okay!", "");
	return 1;
}
this is of Line 298 and 305
i hope you to read my topic fast and reply me. Thank you.


Re: I need help in Pawno Scripting look (Reply me fast please) - Stev - 18.03.2016

As I see, No value is set
PHP код:
PlayerStatus[playerid][level] =; 
PHP код:
CMD:rules(playeridparams[]) 
ect..


Re: I need help in Pawno Scripting look (Reply me fast please) - MarkNelson - 18.03.2016

i must do this ? help me


Re: I need help in Pawno Scripting look (Reply me fast please) - Joron - 18.03.2016

PHP код:
CMD:Rules(playeridparams[])
 {
 
ShowPlayerDialog(playerid0DIALOG_STYLE_LIST"{00E0CD}The Packis Fight v0.5 Rules by CaptainTiggo:""Do not abuse any bugs.\nDo not flame/provoke anyone.\nDo not use any kind of hacks or cheats , illegal mods\nDo not spam or flood.\nDo not ask for money, score, etc...\n----------------------------------------\nFailure to follow the rules will lead to punishments.\n----------------------------------------\nDo you agree to the server rules?""Yes""No");
return 
1;
}
CMD:Updates(playeridparams[])
{
    
ShowPlayerDialog(playerid2DIALOG_STYLE_LIST"{945FFF}Civils Fight v0.5 new updates(By CaptainTiggo):""-New Updates Comming Soon....\n""Okay!""");
return 
1;




Re: I need help in Pawno Scripting look (Reply me fast please) - MarkNelson - 18.03.2016

help guys


Re: I need help in Pawno Scripting look (Reply me fast please) - MiyuUchiha - 18.03.2016

Код:
CMD:rules(playerid, params[0])
{
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{00E0CD}The Packis Fight v0.5 Rules by CaptainTiggo:", "Do not abuse any bugs.\nDo not flame/provoke anyone.\nDo not use any kind of hacks or cheats , illegal mods\nDo not spam or flood.\nDo not ask for money, score, etc...\n----------------------------------------\nFailure to follow the rules will lead to punishments.\n----------------------------------------\nDo you agree to the server rules?", "Yes", "No");
    return 1;
}

CMD:updates(playerid, params[2])
{
    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "{945FFF}Civils Fight v0.5 new updates(By CaptainTiggo):", "-New Updates Comming Soon....\n", "Okay!", "");
    return 1;
}



Re: I need help in Pawno Scripting look (Reply me fast please) - MarkNelson - 18.03.2016

fixed but i have this error here

PlayerStatus[playerid][level] =;
PlayerStatus[playerid][dead] = true;
PlayerStatus[playerid][pw] = true;
TextDrawHideForPlayer(playerid, Respawn);
TextDrawHideForPlayer(playerid, PlayerStatus[playerid][Health]);
SetPlayerColor(playerid, 0xABCDEF01);
return 1;
}

of


C:\Users\infogenie\Desktop\Script\gamemodes\gungam e.pwn(110) : error 010: invalid function or declaration
C:\Users\infogenie\Desktop\Script\gamemodes\gungam e.pwn(116) : error 010: invalid function or declaration


Re: I need help in Pawno Scripting look (Reply me fast please) - MarkNelson - 18.03.2016

115 is 116 now


Re: I need help in Pawno Scripting look (Reply me fast please) - SyS - 18.03.2016

PlayerStatus[playerid][level] =; assign some value here


Re: I need help in Pawno Scripting look (Reply me fast please) - xTURBOx - 18.03.2016

Erm don't know what you are trying to do so can you show some of the code AbOVE it?
Or atleast tell whar you are trying do there