Oque fas? Muda as Paint Jobs de todos os carros que tem pj
Como usar? /pj
Oque preciso? o [fs Styles Job*] e a [inc zcmd]
Creditos: Schocc "iam
Como usar? /pj
Oque preciso? o [fs Styles Job*] e a [inc zcmd]
Creditos: Schocc "iam
pawn Code:
*/ #include <a_samp> #include <zcmd> #define MainDialog_Tuning 478 #define ALL_Paint_Jobs 479 public OnFilterScriptInit() { print("[FS] Styles Job*"); print(" Tuning PJ Car loaded 100%"); print("-Fs tune cars by schocc ---------------\n"); return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == MainDialog_Tuning) { switch(listitem) { case 0: { ShowPlayerDialog(playerid, ALL_Paint_Jobs, DIALOG_STYLE_LIST , "All Paint Jobs | System by Schocc", "Paint Job 1\n\ Paint Job 2\n\ Paint Job 3", "Select","Exit"); } } return 1; } if(dialogid == ALL_Paint_Jobs) { switch(listitem) { case 0: { switch(GetVehicleModel(GetPlayerVehicleID(playerid))) { case 483,534,535,536,558,559,560,561,562,565,567,575,576: { ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 0); ChangeVehicleColor(GetPlayerVehicleID(playerid),9,9); SendClientMessage(playerid,-1,"Paint Job ID: 0 ADICIONADO");//Opcional } default: return SendClientMessage( playerid, -1, "[ERROR]: não é possivel add esta Paint Job neste veiculo" ); } } case 1: { switch(GetVehicleModel(GetPlayerVehicleID(playerid))) { case 534,535,536,558,559,560,561,562,565,567,575,576: { ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 1); ChangeVehicleColor(GetPlayerVehicleID(playerid),9,9); } default: return SendClientMessage( playerid, -1, "[ERROR]: não é possivel add esta Paint Job neste veiculo" ); } } case 2: { switch(GetVehicleModel(GetPlayerVehicleID(playerid))) { case 534,535,536,558,559,560,561,562,565,567,576: { ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 2); ChangeVehicleColor(GetPlayerVehicleID(playerid),9,9); SendClientMessage(playerid,-1,"Schocc é o cara!"); } default: return SendClientMessage( playerid, -1, "[ERROR]: não é possivel add esta Paint Job neste veiculo" ); } } } return 1; } return 1; } CMD:pj(playerid) { ShowPlayerDialog(playerid, MainDialog_Tuning, DIALOG_STYLE_LIST , "Styles Job*","Paint Jobs", "Enter","Exit"); return 1; } /* Creditos : Schocc forum sa-mp [email]leandroneni@live.com[/email] Info extra Paintjob ID: 0 { Camper Remington Slamvan Blade Uranus Jester Sultan Stratum Elegy Flash Savanna Broadway Tornado } Paintjob ID: 1 { Remington Slamvan Blade Uranus Jester Sultan Stratum Elegy Flash Savanna Broadway Tornado } Paintjob ID: 2 { Remington Slamvan Blade Uranus Jester Sultan Stratum Elegy Flash Savanna Tornado } */ /*
0 comentários:
Postar um comentário