it show unknown - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: it show unknown (
/showthread.php?tid=596454)
it show unknown -
Elegy - 18.12.2015
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.");
}
Re: it show unknown -
vassilis - 18.12.2015
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;
}
Re: it show unknown -
Elegy - 18.12.2015
Still same
Re: it show unknown -
TwinkiDaBoss - 18.12.2015
Quote:
Originally Posted by Elegy
Still same
|
Show us the BuyCar and SellCar.
Re: it show unknown -
FreAkeD - 18.12.2015
Make sure the buycar and sellcar functions are returning a value too.