A few errors in my gamemode
#4

Quote:
Originally Posted by Dan.
Посмотреть сообщение
Isn't that like obvious from reading the errors?

pawn Код:
#include <foreach>
Another problem now... When I do /me I want it to say
Код:
Player name - "text"
but now it says the "text" part without the Player Name, I tought I added it.

CMD pawn:
Код:
CMD:me(playerid, params[])
{
    new
        string[128],
        action[100];
    if(sscanf(params, "s[100]", action))
    {
        SendClientMessage(playerid, -1, "USAGE: /me [action]");
        return 1;
    }
    else
    {
        format(string, sizeof(string), "* %s %s.",(playerid), action);
        ProxDetector(30, playerid, string, COLOR_PURPLE);
    }
    return 1;
}
Reply


Messages In This Thread
A few errors in my gamemode - by Songason - 18.07.2012, 19:27
Re: A few errors in my gamemode - by Dan. - 18.07.2012, 19:28
Re: A few errors in my gamemode - by Songason - 18.07.2012, 19:38
Re: A few errors in my gamemode - by Songason - 18.07.2012, 19:45
Re: A few errors in my gamemode - by Dan. - 18.07.2012, 20:00
Re: A few errors in my gamemode - by Songason - 18.07.2012, 20:07

Forum Jump:


Users browsing this thread: 1 Guest(s)