/pm = crashing server
#1

pawn Код:
dcmd_pm(playerid, params[])
{
    new targetid;
    new string[128];
    new message[128];
    if(sscanf(params,"uz",targetid,message)) return SM(playerid,red,"Error: /pm [id/name] [message]");
   
    format(string, sizeof(string),"PM: %s(id: %d): %s",gPlayer[playerid][gName],message);
    SendClientMessage(targetid,PLAYER_COLOR_YELLOW,string);
    return 1;
}
When typing /pm it will crash the server.
Reply


Messages In This Thread
/pm = crashing server - by Seven. - 25.09.2010, 09:12
Re: /pm = crashing server - by Mikkel_Pedersen - 25.09.2010, 09:16
Re: /pm = crashing server - by Mauzen - 25.09.2010, 09:39

Forum Jump:


Users browsing this thread: 1 Guest(s)