08.12.2014, 14:00
Hey!
So, I edited this code, and when I`m trying to compile it, I get some unknown errors.
I scripted these dialogs for:
I`m getting these errors on compile:
Question: How to fix that?
It sais that symbol 'FFFFFF' is undefined...lol
I checked that dialog for 10 times and I couldn`t find any errors...
So, I edited this code, and when I`m trying to compile it, I get some unknown errors.
pawn Код:
case 111:
{
ShowPlayerDialog(playerid,111,DIALOG_STYLE_MSGBOX,"{C11B17}Rules and Regulations:","{FFFFFF}1. Always follow admins orders! They will always want your goodness.\n2. Use /report to contact our admins. Remember to be patient until someone accepts your report.\n3. Do not insult or flame other players or our admins out of the character.\n4. Do not abuse any bugs. Report them on the forums.\n5. Do not use any hacking softwares to have more advantages. It will only get you banned.\n\nFor more visit our forum at www.ad-rp.proboards.com!","Alright","Close");
}
case 112:
{
ShowPlayerDialog(playerid,112,DIALOG_STYLE_MSGBOX,"{C11B17}Roleplay Rules:","{FFFFFF}Remember! This is a medium role play server! You have to roleplay your actions!\n\nThe following actions are completly forbidden under any circumstances:\n1. {C11B17}Metagaming (MG){FFFFFF} - Mixing IC'ly and OOC'ly information.\n2. {C11B17}Powergaming (PG){FFFFFF} - Roleplaying by using unusual powers.\n3. {C11B17}Deathmatching (DM){FFFFFF} - Killing a player for no reason.\n4. {C11B17}Revenge Killing (RK){FFFFFF} - Revenging on a player who killed you.\n5. Killing on Sight (KoS){FFFFFF} - Killing a player without a proper role play.\n\n{157DEC}For more visit our forum at www.ad-rp.proboards.com!","Alright","Close");
pawn Код:
}
if (strcmp("/rules", cmdtext, true, 5) == 0)
{
DisplayDialogForPlayer(playerid, 111);
return 1;
}
if (strcmp("/rprules", cmdtext, true, 5) == 0)
{
DisplayDialogForPlayer(playerid, 112);
return 1;
}
Question: How to fix that?
It sais that symbol 'FFFFFF' is undefined...lol
I checked that dialog for 10 times and I couldn`t find any errors...