Help with "Unknown Command"
#1

Hi, i am new at SA-MP scripting, and every command i create, when test on server, it's saying: "Unknown Command"/
Any help?
For ex. Spawn Vehicle code:

Pawn CODE:
PHP код:
new Vehicle[MAX_PLAYERS];
COMMAND:kerr(playeridparams[]){
  new 
car;
  new 
string[128];
  new 
first;
  new 
second;
  new 
Float:XFloat:YFloat:Z;
    
GetPlayerPos(playeridFloat:XFloat:YFloat:Z);
        if(
sscanf(params"i"carfirstsecond)) return SendClientMessage(playerid0xF0F8FFAA"Perdorimi: /kerr [VEHICLE ID]");
            if(
car 400 || car 611) return SendClientMessage(playerid0xF0F8FFAA"ID i kerrit duhet te jete me e madhe se 399, dhe me e vogel se 612");
                if(
Vehicle[playerid] != 0){
        
DestroyVehicle(Vehicle[playerid]);
    }
    
Vehicle[playerid] = CreateVehicle(carXY3.0firstsecond1, -1);
    
format(stringsizeof(string), "Ti ke krijuar nje kerr, me id"car);
    
SendClientMessage(playerid0xF0F8FFAAstring);
return 
1;

Reply


Messages In This Thread
Help with "Unknown Command" - by ddiioonn123 - 09.12.2018, 12:54
Re: Help with "Unknown Command" - by scripter112 - 09.12.2018, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)