I need help in Pawno Scripting look (Reply me fast please)
#1

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.
Reply
#2

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

i must do this ? help me
Reply
#4

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;

Reply
#5

help guys
Reply
#6

Код:
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;
}
Reply
#7

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
Reply
#8

115 is 116 now
Reply
#9

PlayerStatus[playerid][level] =; assign some value here
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)