! - . . , , . , , , (, ) . !





" LEAGUE"
VK: vk.com/sergey68

76890 - 1000,46860 - 500, 300
** V.I.P --> **

: /editcar

1 10 15

  1. #1

      Garthwaite

    :
    :25.10.2019
    :13
    :0 [+/-] 

    /editcar

    , , . , , pawno



    :
    :
    else if(StrCmp(cmd, "/editcar"))
    	{
    	if(PlayerInfo[playerid][pAdmin] < 8 && !GetPVarInt(playerid,"imalvaro")) return SCMNOADM(playerid);
    	if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid,-1,"    !");
    	if(!strlen(tmp)) return SCM(playerid, COLOR_YELLOW, ": /editcar [carmodel] | TEST CMD edit vehicle model !");
    	VehicleInfo[vehicleid][OwnedCarModel] = strval(tmp);
    	new vehmodel = VehicleInfo[vehicleid][OwnedCarModel];
    	if(vehmodel < 400 || level > 601) return SCM(playerid, COLOR_WHITE, "*   400  601!");
    	SCM(playerid,-1,"   !");
    	return true;
    	}
    :

    :
    (64405) : error 017: undefined symbol "vehicleid"
    (64406) : error 017: undefined symbol "vehicleid"
    (64407) : error 017: undefined symbol "level"
    (71057) : error 001: expected token: ";", but found "-identifier-"
  2. #2

      execution

    :
    :23.06.2017
    :238
    :32 [+/-] 
    , , pawno
    , , ? .
  3. #3

      OKStyle

    :
    :04.03.2011
    :
    :3,771
    :1249 [+/-] 
    VehicleInfo :
    PHP :
    new vehicleid GetPlayerVehicleID(playerid); 
  4. #4

      Garthwaite

    :
    :25.10.2019
    :13
    :0 [+/-] 
    VehicleInfo :
    PHP :
    new vehicleid GetPlayerVehicleID(playerid); 
    , . /editcar 599, ": /editcar [carmodel]
  5. #5

      OKStyle

    :
    :04.03.2011
    :
    :3,771
    :1249 [+/-] 
    , :

    PHP :
    new tmp[16];
    tmp strtok(cmdtextidx); 
  6. #6

      Garthwaite

    :
    :25.10.2019
    :13
    :0 [+/-] 
    , :

    PHP :
    new tmp[16];
    tmp strtok(cmdtextidx); 
    PHP :
    (64402) : warning 219local variable "tmp" shadows a variable at a preceding level
    (64403) : error 047: array sizes do not match, or destination array is too small 
  7. #7

      OKStyle

    :
    :04.03.2011
    :
    :3,771
    :1249 [+/-] 
    , :

    PHP :
    if(!strcmp(cmd"/editcar"true))
    {
        if(
    PlayerInfo[playerid][pAdmin] < && !GetPVarInt(playerid,"imalvaro")) return SCMNOADM(playerid);
        if(!
    IsPlayerInAnyVehicle(playerid)) return SCM(playerid, -1, !"    !");
        new 
    tmp1[64];
        
    tmp1 strtok(cmdtextidx);
        if(!
    strlen(tmp)) return SCM(playeridCOLOR_YELLOW, !": /editcar [carmodel] | TEST CMD edit vehicle model !");
        new 
    vehmodel strval(tmp1);
        if(!(
    400 <= vehmodel <= 601)) return SCM(playeridCOLOR_WHITE, !"*   400  601!"); //    611 
        
    VehicleInfo[GetPlayerVehicleID(playerid)][OwnedCarModel] = vehmodel;
        
    SCM(playerid, -1, !"   !");
        return 
    1;

    . : .
  8. #8

      Garthwaite

    :
    :25.10.2019
    :13
    :0 [+/-] 
    , :

    PHP :
    if(!strcmp(cmd"/editcar"true))
    {
        if(
    PlayerInfo[playerid][pAdmin] < && !GetPVarInt(playerid,"imalvaro")) return SCMNOADM(playerid);
        if(!
    IsPlayerInAnyVehicle(playerid)) return SCM(playerid, -1, !"    !");
        new 
    tmp1[64];
        
    tmp1 strtok(cmdtextidx);
        if(!
    strlen(tmp)) return SCM(playeridCOLOR_YELLOW, !": /editcar [carmodel] | TEST CMD edit vehicle model !");
        new 
    vehmodel strval(tmp1);
        if(!(
    400 <= vehmodel <= 601)) return SCM(playeridCOLOR_WHITE, !"*   400  601!"); //    611 
        
    VehicleInfo[GetPlayerVehicleID(playerid)][OwnedCarModel] = vehmodel;
        
    SCM(playerid, -1, !"   !");
        return 
    1;

    . : .
    , , .
  9. #9
  10. #10

      Garthwaite

    :
    :25.10.2019
    :13
    :0 [+/-] 

    PHP :
        else if(StrCmp(cmd"/editcar"))
        {
            
    tmp strtok(cmdtextidx);
            if(!
    strlen(tmp))
            {
                new 
    pos GetPlayerVehicleID(playerid);
                if(
    pos == 0) return SCM(playerid,COLOR_TEXCOLOR,"   ! | /editcar [modelid] [color1] [color2]");
                
    VehicleInfo[pos][OwnedCarModel] = 0;
                
    VehicleInfo[pos][vFraction] = 0;
                
    CreatedCar[pos] = false;
                
    strmid(VehicleInfo[pos][OwnedPlName], "No-One"0strlen("No-One"), MAX_PLAYER_NAME);
                
    strmid(VehicleInfo[pos][Trustee1PlName], "No-One"0strlen("No-One"), MAX_PLAYER_NAME);
                
    strmid(VehicleInfo[pos][Trustee2PlName], "No-One"0strlen("No-One"), MAX_PLAYER_NAME);
                
    strmid(VehicleInfo[pos][Trustee3PlName], "No-One"0strlen("No-One"), MAX_PLAYER_NAME);
                
    DestroyVehicleArrival(pos);
                new 
    car strval(tmp);
                if(
    car 400 || car 611) return SCM(playeridCOLOR_GRAD2"  400  611!");
                
    tmp strtok(cmdtextidx);
                if(!
    strlen(tmp)) return SCM(playeridCOLOR_GRAD2": /editcar [modelid] [color 1] [color 2]");
                new 
    color1 strval(tmp);
                
    tmp strtok(cmdtextidx);
                if(!
    strlen(tmp)) return SCM(playeridCOLOR_GRAD2": /editcar [modelid] [color 1] [color 2]");
                new 
    color2 strval(tmp);
                new 
    Float:xFloat:yFloat:zFloat:a;
                
    GetPlayerPos(playerid,x,y,z);
                
    GetPlayerFacingAngle(playerid,a);
                
    CreateAdminVehicle(playerid,car,x,y,z,a,color1,color2);
                
    SCM(playeridCOLOR_WHITE" . (Fraction = 0, VehicleOwner = 0)");
            }
        } 

    . /editcar idcar 1 2, . /editcar , , " 400 611 "!

, : 14

(, , , , , ), , .
!
samp-rp advanvce pawn s0beit cs 1.6 0.3x World of Tanks samp-rp, samp-rp, - PAWNO SA-MP IV-MP MTA cleo s0beit sobeit sa-mp sa-mp pawno pawno pawno iv-mp iv-mp iv-mp godfather SAMP gta 4 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather rp roleplay samp-rp sa-mp sa-mp pawno gta-iv gta-v gta-sa gta-3 gta-III gta-4 gta-5 gta-vc mta mta-dm mta-race mta-sa pawno info ru pawno pawno gta-iv gta-iv gta-v gta-v gta-iv keygen gta sa gta 4 multiplayer gta san adnreas multiplayer sa-mp forum sa-mp pawno sa-mp pawno sa-mp gta-sa pawno pawno errors sa-mp 0.3c SA-MP 0.3d 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather SAMP hack rat android instagram twitter ddos root linux ubuntu mac android advance arizona 4g