Jump to content
  • 0

pomoc Admin text


Deejva

Dotaz

zdravím, tak jsem tu zas :d

zde kod:

COMMAND:say(playerid,params[])
{
    if (!strlen(params)) return SendClientMessage(playerid, -1, "Použití: /say [TEXT]");
    new string[128];
    format(string, sizeof(string), "* Admin: %s", params);
SendClientMessageToAll(-1, string);
return 1;
}

Problem je v tom, že stačí napsat /say bez ničeho a odešle se zpráva "* Admin:" - to je vše .. zkoušel jsem to přes sscanf, přes tohle, vždy se to odešle, už nevím, co mám dělat, jestli je chyba v zcmd nebo kde .. díky za rady :)

 

Link to comment
Share on other sites

2 odpovědí na tuto otázku

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...