[duv] Como trancar um carro samp 0.3c
#2

Tenta nгo sei se funciona na 0.3c
pawn Код:
if(strcmp(cmd, "/lock", true) == 0)
    {
        for(new i=0; i < MAX_PLAYERS; i++)
        SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,1);
        return 1;
    }
    if(strcmp(cmd, "/unlock", true) == 0)
    {
        for(new i=0; i < MAX_PLAYERS; i++)
        SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,0);
        return 1;
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)