Why is this returning: Command not found?
#1

pawn Код:
COMMAND:tempset(playerid, params[])
{
    new user, f, string[128];
    if(sscanf(params, "ud", user, f)) return SendClientMessage(playerid, COLOR_WHITE, "ERROR » That's not the way, try: /tempset (player) (faction)");
    player[user][faction] = f;
    format(string, sizeof(string), "NOTE » You were added to %s by %s.", fInfo[f][fName], RemoveUnderScore(playerid)); SendClientMessage(user, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), "NOTE » You added %s to %s.", RemoveUnderScore(user), fInfo[f][fName]); SendClientMessage(user, COLOR_LIGHTBLUE, string);
    //SavePlayerData(user, "faction", player[user][faction], 2);
    return 1;
}
SavePlayerData() and shit works on other commands but not just on this.
Reply


Messages In This Thread
Why is this returning: Command not found? - by hanzen - 06.01.2011, 18:07
Re: Why is this returning: Command not found? - by JaTochNietDan - 06.01.2011, 18:20
Re: Why is this returning: Command not found? - by hanzen - 06.01.2011, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)