public which allows custom command error messages
#1

Whats the public function which has a success variable which allows you to make a custom error for invalid commands?
Reply
#2

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success){
    if (!success) return SendClientMessage(playerid, YOURCOLOUR, "Your Message");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)