26.04.2009, 01:42
"PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
SendClientMessage(playerid, COLOR_GRAD1, string);
format(string, sizeof(string), " You have recieved a %s from %s.", x_weapon, sendername);"
The line 205 on pastebin, has "SendClientMessage(playerid, COLOR_GRAD1, string);" but I see nothing which actually puts text into the string.
So it's sending an undefined string which is crashing it.
Try removing that line and then trying it.
SendClientMessage(playerid, COLOR_GRAD1, string);
format(string, sizeof(string), " You have recieved a %s from %s.", x_weapon, sendername);"
The line 205 on pastebin, has "SendClientMessage(playerid, COLOR_GRAD1, string);" but I see nothing which actually puts text into the string.
So it's sending an undefined string which is crashing it.
Try removing that line and then trying it.