[Question/help] Server: Unknown Command
#1

Hey guys I'm here today with a new question

I where wondering how i can do a message insted when some one type a command that doesnt exist and the server says "Server: Unknown Command" and i wonder how i can change that one to my own.
Reply
#2

k here is how its done , at the end of OnPlayerCommandText u will see a :
return 0;
}

if u need to add ur own message , add in the end of OnPlayerCommandText :
return SendClientMessage(playerid,COLOR,"Message");
}
________
UNIVERSAL HEALTH
Reply
#3

Quote:
Originally Posted by [AC
Etch ]
k here is how its done , at the end of OnPlayerCommandText u will see a :
return 0;
}

if u need to add ur own message , add in the end of OnPlayerCommandText :
return SendClientMessage(playerid,COLOR,"Message");
}
Sweet Mate, Never thought it would be that eazy xD some times i need to use my brain a bit more .P
Reply
#4

Quote:
Originally Posted by Everest Community
Quote:
Originally Posted by [AC
Etch ]
k here is how its done , at the end of OnPlayerCommandText u will see a :
return 0;
}

if u need to add ur own message , add in the end of OnPlayerCommandText :
return SendClientMessage(playerid,COLOR,"Message");
}
Sweet Mate, Never thought it would be that eazy xD some times i need to use my brain a bit more .P
xD
________
Arizona medical marijuana dispensary
Reply
#5

Quote:
Originally Posted by Everest Community
Quote:
Originally Posted by [AC
Etch ]
k here is how its done , at the end of OnPlayerCommandText u will see a :
return 0;
}

if u need to add ur own message , add in the end of OnPlayerCommandText :
return SendClientMessage(playerid,COLOR,"Message");
}
Sweet Mate, Never thought it would be that eazy xD some times i need to use my brain a bit more .P
In Pawno there is always something new to learn
Reply
#6

Quote:
Originally Posted by ikarus
Quote:
Originally Posted by Everest Community
Quote:
Originally Posted by [AC
Etch ]
k here is how its done , at the end of OnPlayerCommandText u will see a :
return 0;
}

if u need to add ur own message , add in the end of OnPlayerCommandText :
return SendClientMessage(playerid,COLOR,"Message");
}
Sweet Mate, Never thought it would be that eazy xD some times i need to use my brain a bit more .P

Yeah sure thats true =)
In Pawno there is always something new to learn
Reply
#7

Quote:
Originally Posted by ikarus
Quote:
Originally Posted by Everest Community
Quote:
Originally Posted by [AC
Etch ]
k here is how its done , at the end of OnPlayerCommandText u will see a :
return 0;
}

if u need to add ur own message , add in the end of OnPlayerCommandText :
return SendClientMessage(playerid,COLOR,"Message");
}
Sweet Mate, Never thought it would be that eazy xD some times i need to use my brain a bit more .P
In Pawno there is always something new to learn
i agree
________
CHEVROLET TRAVERSE SPECIFICATIONS
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)