17.01.2011, 18:57
It's best if you move that under OnGameModeInit.
I'm just saying.
pawn Код:
new Cmds[560];
public OnGameModeInit()
{
strcat(Cmds, "{A9C9A4}/rules {A68064}to view the server rules\n{A9C9A4}/info {A68064}to read a introduction how to play\n");
strcat(Cmds, "{A9C9A4}/about {A68064}to view the server information\n{A9C9A4}/stats {A68064}to view your game statistic\n");
strcat(Cmds, "{A9C9A4}/kill {A68064}to kill yourself\n{A9C9A4}/classselect {A68064}to return to the class selection\n");
strcat(Cmds, "{A9C9A4}/mapi {A68064}to view the current maps information \n{A9C9A4}/anim {A68064}to view the available animation commands\n");
strcat(Cmds, "{A9C9A4}/inv {A68064}to view your inventory\n{A9C9A4}/drug {A68064}to take an ecstasy pill\n{A9C9A4}/q {A68064}to quit the game");
printf("%d", strlen(Cmds)); //outputs 559
return 1;
}