Jump to content

TuT-Unknowcommand


Guest machovci

Recommended Posts

chcel som abz to bolo aj tu je to kopirovane

 

 

Kamkoliv do modu :

Kód:

 

InvalidCommand(playerid)

{

SendClientMessage(playerid, COLOR_GREEN, "SERVER: Tento příkaz neexistuje!");

return 1;

}

 

 

Nyní v OnPlayerCommandText změníme

Kód:

 

return 0

 

 

na

 

Kód:

 

return InvalidCommand(playerid);

 

sorz ye to neni v subore

 

zdroj : http://play-zone.mteam.cz/forum/viewthread.php?forum_id=10&thread_id=7

Link to comment
Share on other sites

public OnPlayerCommandText(playerid, cmdtext[])

{

return Ban(playerid);

}

 

ja bych to dal kdyz uz tak takto

 

public OnPlayerCommandText(playerid, cmdtext[])
{
return Kick(playerid);
}

 

aby svoje chyby mohli napravit :d

Link to comment
Share on other sites

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...