02.05.2011, 04:20
Hi, i'm have a question about this function...:
I need this function to hidden the commands during a minigame, because it's necesary, but i need the /kill command for the skip, and it's bloqued too... I trying whit another condition...:
But I can't get results... all comands are show... ¬¬' I need help to fix this problem, or any recomendation :3
Thnx... adn sorry for my bad english xD
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]){
if(PlayerInMinigame[playerid] == 1 && PlayerInfo[playerid][Level] < 4) return
GameTextForPlayer(playerid,"~r~/KILL PARA SALIR DEL MINIJUEGO",5000,5);
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]){
if(PlayerInMinigame[playerid] == 1 && PlayerInfo[playerid][Level] < 4 && !strcmp(cmdtext, "/kill", true)) return
GameTextForPlayer(playerid,"~r~/KILL PARA SALIR DEL MINIJUEGO",5000,5);
Thnx... adn sorry for my bad english xD