20.02.2010, 21:19
Quote:
Originally Posted by [AC
Etch ]
dcmd_tune(playerid,params[]) { #pragma unused params if(IsPlayerInAnyVehicle(playerid)) { new LVehicleID = GetPlayerVehicleID(playerid), LModel = GetVehicleModel(LVehicleID); switch(LModel) { case 448,461,462,463,468,471,509,510,521,522,523,581,58 6,449: return SendClientMessage(playerid,red,"ERROR: You can not tune this vehicle"); } CMDMessageToAdmins(playerid,"LTUNE"); SetVehicleHealth(LVehicleID,2000.0); TuneLCar(LVehicleID); return PlayerPlaySound(playerid,1133,0.0,0.0,0.0); } else return SendClientMessage(playerid,red,"Error: You are not in a vehicle"); } OnPlayerCommandText dcmd(ltune,5,cmdtext); if u didnt define dcmd : top of script : #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 |
He dosent want a tune script, He wants the id of a secret/hidden paintjob
All the code will do that you provided is give the car hydraulics and nitro and set it black and blue,
So no offence but learn to read and dont take codes right out of scripts as the person is just gonna get a boat load of errors