SAMP ERRORS
#2

You has the zcmd?
pawn Код:
cmd(pm, playerid, params[])
{
    new id, message[100];
    if(sscanf(params,"us[100]", id, message)) return SendClientMessage(playerid, -1,"Usage: /pm [id][message]");
    new string[128];
    format(string, sizeof(string),"PM From %s[ID: %d]: %s", GetName(id), id, message);
    SendClientMessage(playerid, -1, string);
    format(string, sizeof(string),"PM To %s[ID: %d]: %s", GetName(playerid), id, message);
    SendClientMessage(id, -1, string);
    return 1;
}
pawn Код:
new id, message;
//replace to
new id, message[128];

if(sscanf(params,"us[128]", id, Message))
//replace to
if(sscanf(params,"us[128]", id, message))
Reply


Messages In This Thread
SAMP ERRORS - by DaRkAnGeL[NBK] - 09.10.2011, 21:28
Re: SAMP ERRORS - by Josma_cmd - 09.10.2011, 21:38
Re: SAMP ERRORS - by DaRkAnGeL[NBK] - 09.10.2011, 21:39
Re: SAMP ERRORS - by Josma_cmd - 09.10.2011, 21:45

Forum Jump:


Users browsing this thread: 2 Guest(s)