all my commands not working -
SomebodyAndMe - 31.05.2012
All my commands aren't working anymore. If I type /announce or whatever command it says:
Blabla has used: /announce testestest
Unkown command.
How to fix this issue, has this to deal with OnPlayerText?
Re: all my commands not working -
MadeMan - 31.05.2012
Do you use any filterscripts? Try removing them.
Re: all my commands not working -
Da' J' - 31.05.2012
pawn Код:
public OnPlayerText(playerid, text[])
{
new textv2[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof (name));
format(textv2, sizeof (textv2), "%d >> %s: %s", playerid, name, text);
SendPlayerMessageToAll(playerid, textv2);
return 0; // ignore the default text and send the custom one
}
See the "new textv2[128]"? I would test it first... I mean the numbers, don't remember exactly how it was called, but hopefully you remember!
Re: all my commands not working -
Vince - 31.05.2012
All chat input that is preceded with a forward slash is passed directly to OnPlayerCommandText. It never calls OnPlayerText.
Re: all my commands not working -
SomebodyAndMe - 01.06.2012
Commands are only working now if APlayerData[playerid][PlayerLevel] > 2.
(is above 2)
Normal command which doesn't need a playerlevel requirement doesn't work.
Re: all my commands not working -
kepa333 - 01.06.2012
, If you have been downloading maps , wich includes old version maps of mta it couldt get bugged < I had this with Something else < Or else it couldt be filterscripts
Re: all my commands not working -
Sandiel - 01.06.2012
Try updating your includes, plugins, re-installing the new 0.3e server pack, good luck.
Re: all my commands not working -
SomebodyAndMe - 01.06.2012
Tried it, still ain't working.
Re: all my commands not working -
Sandiel - 01.06.2012
Are you sure that in your server.cfg file, you have the CORRECT gamemode placed, and plugins?(make sure your GM is in the folder "Gamemodes")
If everything is in place, try re-installing 0.3e server package from SA-MP.com ?
Re: all my commands not working -
SomebodyAndMe - 01.06.2012
Everything is alright.