UnKnown Command.
#1

Okay I need help regarding my game mode it works fine but if a player writes a Unknown command in the server the server do nothing and give no message I want it to give Error:Unkown Command any help please?
Reply
#2

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
(
     if(!success) SendClientMessageEx(playerid, COLOR_WHITE, ''SERVER: Unknown command type /help to see all available commands.'');
return 1;
)
sorry if it doesnt work im typing this out on my phone so i cant tab correctly but i think it will work,
Reply
#3

Thankyou [Repped +]
Reply
#4

yes lol i just posted it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)