25.08.2009, 19:48
Okay, so I ended up writing a small and little OOC chat thingy, but now it crashes Pawno.
This is it:
Can someone please help fix this?
Or atleast write a new one?
I fail at these ^_^
This is it:
pawn Код:
if(strcmp(cmd, "/o", true) == 0 || strcmp(cmd, "/ooc", true) == 0)
{
format(string, sizeof(string), "OOC: %s: %s", GetPlayerNameEx(playerid), result);
SendClientMessageToAll(COLOR_BLUE,string);
}
return 1;
}
Or atleast write a new one?
I fail at these ^_^