Pawno crashes pls tell me the error
#6

can someone tell me why this is crashing now?

pawn Код:
if (strcmp("/anim", cmdtext, true) == 0)
{
//OnPlayerCommandText
new Anims[1024] = "{A9C9A4}/wank {A68064}to have some fun\n{A9C9A4}/tai {A68064}to do some taichi\n";
strcat(Anims, "{A9C9A4}/dance1 {A68064}to dance\n{A9C9A4}/dance2 {A68064}to strip\n");
strcat(Anims, "{A9C9A4}/handsup {A68064}to surrender\n{A9C9A4}/smoke {A68064}to smoke a cigaret\n");
strcat(Anims, "{A9C9A4}/wave1 {A68064}to wave\n{A9C9A4}/wave2 {A68064}to wave (a bit gay for men)\n");
strcat(Anims, "{A9C9A4}/point {A68064}to point at someone\n{A9C9A4}/relax {A68064}to relax\n{A9C9A4}/threat {A68064}to point a weapon a someone's head");

ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "{800000}Animations {855E42}(type in:)",Anims, "Ok", "Close");

return 1;
}

//cause this is the code above and this one is working

if (strcmp("/cmd", cmdtext, true) == 0)
{

new Cmds[1024] = "{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");

ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX,"{800000}Commands {855E42}(type in:)",Cmds, "Ok", "Close");

return 1;
}
Reply


Messages In This Thread
Pawno crashes pls tell me the error - by BlackWolf120 - 14.01.2011, 14:37
Re: Pawno crashes pls tell me the error - by [SU]Balli - 14.01.2011, 14:50
Re: Pawno crashes pls tell me the error - by BlackWolf120 - 15.01.2011, 23:02
Re: Pawno crashes pls tell me the error - by Joe Staff - 15.01.2011, 23:11
Re: Pawno crashes pls tell me the error - by BlackWolf120 - 15.01.2011, 23:16
Re: Pawno crashes pls tell me the error - by BlackWolf120 - 17.01.2011, 18:41
Re: Pawno crashes pls tell me the error - by BlackWolf120 - 17.01.2011, 18:51
Re: Pawno crashes pls tell me the error - by Stylock - 17.01.2011, 18:57
Re: Pawno crashes pls tell me the error - by BlackWolf120 - 17.01.2011, 19:12
Re: Pawno crashes pls tell me the error - by legodude - 18.01.2011, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)