it show unknown
#1

when i use this commands,i can buy car,but it show unknown commands,but this CMD WORK

PHP код:
CMD:vbuy(playerid,params[]) {
       
SendClientMessage(playerid,0xC0C0C0FF,"You have buy this car.");
    
buycar(playerid);
}
CMD:vsell(playerid,params[]) {
    
sellcar(playerid);
    
SendClientMessage(playerid,0xC0C0C0FF,"You have sell this car.");

Reply
#2

PHP код:
CMD:vbuy(playerid,params[]) { 
       
SendClientMessage(playerid,0xC0C0C0FF,"You have buy this car."); 
    
buycar(playerid);
      return 
1

CMD:vsell(playerid,params[]) { 
    
sellcar(playerid); 
    
SendClientMessage(playerid,0xC0C0C0FF,"You have sell this car."); 
    return 
1;

Reply
#3

Still same
Reply
#4

Quote:
Originally Posted by Elegy
Посмотреть сообщение
Still same
Show us the BuyCar and SellCar.
Reply
#5

Make sure the buycar and sellcar functions are returning a value too.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)