Jump to content
  • 0

Question

Posted

Am incercat sa fac o comanda la spawn ca atunci cand un jucator tasteaza comanda /getfaggio sa ii dea un faggio, insa nu am reusit

am facut asta insa e un esec

CMD:getfaggio(playerid, params[]) {
        CreateVehicle(462, 1291.8846,-1550.3408,13.5469,264.1899, -1, -1, 300);
        SetVehicleNumberPlate(carid, "Spawn");
        new str[128];
        LinkVehicleToInterior(carid, GetPlayerInterior(playerid));
        SetVehicleVirtualWorld(carid, GetPlayerVirtualWorld(playerid));
        PutPlayerInVehicle(playerid, carid, 0);

    } 
    else return SendClientMessage(playerid, COLOR_LIGHTGREEN3, AdminOnly);
    return 1;

ma puteti ajuta ?

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.