helpchat is not working,
#1

pawn Код:
CMD:helpchat(playerid, params[])
{
    static
        userid;
       
    if(ahelpchat[playerid] == 0)
        return SendErrorMessage(playerid, "You are not in a chat with an staff member");

    if(ahelpchat[playerid] == 1)

    if(isnull(params))
        return SendSyntaxMessage(playerid, "/helpchat[text]");

    SendClientMessageEx(userid, COLOR_YELLOW, "(( HelpChat: %s: %s ))", ReturnName(playerid), params);
    SendClientMessageEx(playerid, COLOR_YELLOW, "(( HelpChat: %s: %s ))", ReturnName(userid), params);
    return 1;
}
Thats what i created for an helpme that the player can talk to an staff member, but the problem is its not taking the right names, and the parmas is not showing to eachother,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)