31.10.2011, 08:34
Can someone yell at him with me?
I mean the way you created these commands are utter shit, you need to damn improve them!
JUST LOOK HOW MANY CELLS YOU'RE USING, YET YOU DIDN'T EVEN COUNT HOW BIG THE STRING IS.
lol'd
I mean the way you created these commands are utter shit, you need to damn improve them!
pawn Код:
CMD:cmds(playerid,params[])
{
new PCommands[1024];
PCommands[0]='\0';
strcat(PCommands, "{EFED7A} /buy , /cmds , /rules , /help \n", 1024 );
ShowPlayerDialog( playerid, 9046, DIALOG_STYLE_MSGBOX , " {00FF19}Server Public Commands " , PCommands , "Ok" , "Close " ) ;
return 1;
}
CMD:rules(playerid,params[])
{
new RulesZ[1024];
RulesZ[0]='\0';
strcat(RulesZ, "{FF0202}1. {EFED7A} No Spamming\n", 1024 );
strcat(RulesZ, "{FF0202}2. {EFED7A} No Hacking \n", 1024 );
strcat(RulesZ, "{FF0202}3. {EFED7A} No Caps \n", 1024 );
strcat(RulesZ, "{FF0202}4. {EFED7A} Disrespect = Ban\n", 1024 );
strcat(RulesZ, "{FF0202}5. {EFED7A} Asking for admin will result a ban\n",1024);
strcat(RulesZ, "{FF0202}6. {EFED7A} No Spawn Killing\n",1024);
strcat(RulesZ, "{FF0202}6. {EFED7A} No Team Killing\n",1024);
ShowPlayerDialog( playerid, 9050, DIALOG_STYLE_MSGBOX , " {00FF19}Server Rules " , RulesZ , "Ok" , "Close " ) ;
return 1;
}
CMD:help(playerid,params[])
{
new HelpZ[1024];
HelpZ[0]='\0';
strcat(HelpZ, "{FF0202} In this Gamemode you will be a zombie or a human\n", 1024 );
strcat(HelpZ, "{FF0202} you will have to survive in Vegas because of the horror that happened during halloween \n", 1024 );
strcat(HelpZ, "{FF0202} you must kill zombies earn exp and money to buy more weapons to give you more chance of surviving \n", 1024 );
strcat(HelpZ, "{FF0202} this is halloween zombie mod 2 made for halloween speciality \n", 1024 );
ShowPlayerDialog( playerid, 9060, DIALOG_STYLE_MSGBOX , " {00FF19}Server Help " , HelpZ , "Ok" , "Close " ) ;
return 1;
}
lol'd