PutPlayerInVehicle
#2

PHP код:
PutPlayerInVehicle(playeridvehicleidseatid); 
PHP код:
YCMD:veh(playeridparams[], help

    
#pragma unused help 
    
new idstring[40], FloatK[3], c1,c2
     if(
PlayerInfo[playerid][xAdmin] < 3) return SCM(playerid, -1"{A80000}[Error]: {585858}You are not an administrator!"); 
      { 
         if(
sscanf(params,"iii"idc1c2)) return SendClientMessage(playerid, -1"/veh [ID] [Col1] [Col2]"); 
         
GetPlayerPos(playerid,K[0], K[1], K[2]); 
         
format(stringsizeof(string), "Vehicle ID %i"id); 
         
SendClientMessage(playerid, -1string); 
         
CreateVehicle(idK[0], K[1], K[2], 90c1c290); 
         
PutPlayerInVehicle(playeridid0);
     } 
    return 
true

Reply


Messages In This Thread
PutPlayerInVehicle - by xClown - 07.10.2015, 21:11
Re: PutPlayerInVehicle - by d1git - 07.10.2015, 21:13
Re: PutPlayerInVehicle - by xClown - 07.10.2015, 21:15

Forum Jump:


Users browsing this thread: 1 Guest(s)