Jump to content
  • 0

Intrebare


sL0w^

Question

Am aceasta comanda

[pawn]if(strcmp(cmd, "/destroycars", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

        if(PlayerInfo[playerid][pAdmin] < 1338)

{

    SendClientMessage(playerid, COLOR_GRAD1, "  you are not authorized to use that command!");

    return 1;

}

for(new i = 0; i < sizeof(CreatedCars); i++)

{

if(i != 0)

{

    DestroyVehicle(i);

}

}

SendClientMessage(playerid, COLOR_GREY, "  Created Vehicles destroyed !");

}

return 1;

}[/pawn]

Ce nu am facut corect la aceasta comanda de nu functioneaza?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.