? error
#1

solved and i reped all who tried to Help
Reply
#2

This should work:
pawn Код:
if(sscanf(params,"u",id)) SendClientMessage(playerid, COLOR_WHITE,"USAGE:/invite [ID/Partofname]");
And make sure you have "new id;" somewhere before the sscanf line.
Reply
#3

still the same
Reply
#4

Weird, added the line to my pawno and it worked. Give us the whole code.
Reply
#5

what you try to create?
Reply
#6

pawn Код:
CMD:invite(playerid,params)
{
    new pName[MAX_PLAYER_NAME],iName[MAX_PLAYER_NAME],id,string[128];
    if(pInfo[playerid][pRank] < 8) SendClientMessage(playerid,-1,"You May not Use this command");
    if(sscanf(params,"u",id)) SendClientMessage(playerid,-1,"USAGE:invite [id/partofname]");
    return 1;
}
i'm still working on it
Reply
#7

Bumb Please help.
Reply
#8

you want invite a player to your faction right ?
Reply
#9

pawn Код:
CMD:invite(playerid,params)
{
    new pName[MAX_PLAYER_NAME], iName[MAX_PLAYER_NAME], id, string[128];
    if(pInfo[playerid][pRank] < 8) return SendClientMessage(playerid, 0xFFFFFFAA, "You May not Use this command");
    if(sscanf(params,"u",id)) return SendClientMessage(playerid, 0xFFFFFFAA, "USAGE:invite [id/partofname]");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)