Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*******************************************************************************
- //// //////////////////////////////////////////////// ////
- \\\\ \\\\ \\\\ \\\\
- //// //// Loggo Car by Teddy //// ////
- \\\\ \\\\ \\\\ \\\\
- //// //////////////////////////////////////////////// ////
- \\\\ \\\\\\\\ Version: 1.0 \\\\\\\\\\\\ \\\\
- //// //////// Relese Date: 17/02/2013 //////////// ////
- \\\\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\
- //// Change Pandora and Network on SetObjectMaterialText [put your server] \\\\
- //// //////////////////////////////////////////////// ////
- \\\\ \\\\ \\\\ \\\\
- //// //// You CAN edit this FS to you liking //// ////
- \\\\ \\\\ You CANNOT clame this as your own \\\\ \\\\
- //// //// You CANNOT re-release or post this on //// ////
- \\\\ \\\\ other sites without my permission \\\\ \\\\
- //// //////////////////////////////////////////////// ////
- *******************************************************************************/
- #define FILTERSCRIPT
- #include <a_samp>
- public OnFilterScriptInit()
- {
- printf("\n ----------------------------");
- print(" \n Loggo Car FileScript loaded");
- printf("\n ----------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- printf("\n ------------------------------");
- print(" \n Loggo Car FileScript unloaded");
- printf("\n ------------------------------\n");
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext, "/loggo", true) == 0)
- {
- ShowPlayerDialog(playerid, 0001, DIALOG_STYLE_LIST, "Loggo by Teddy", "Put Loggo\nDelete Loggo", "Select", "Cancel");
- PlayerPlaySound(playerid, 0001, 0.0, 0.0, 10.0);
- return 1;
- }
- return 0;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == 0001)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SetPVarInt(playerid, "o1",CreateObject(19327,0,0,0,0,0,0));
- SetPVarInt(playerid, "o2",CreateObject(19327,0,0,0,0,0,0));
- SetPVarInt(playerid, "o3",CreateObject(19327,0,0,0,0,0,0));
- SetPVarInt(playerid, "o4",CreateObject(19327,0,0,0,0,0,0));// Change Pandora and Network on SetObjectMaterialText [put your server]
- AttachObjectToVehicle(GetPVarInt(playerid, "o1"), GetPlayerVehicleID(playerid),-1.104999, 0.000000, 0.180000, -4.020000, 0.000001, 269.340515);
- AttachObjectToVehicle(GetPVarInt(playerid, "o2"), GetPlayerVehicleID(playerid),1.104999, 0.000000, 0.180000, -4.020000, 0.000001, 449.236389);
- AttachObjectToVehicle(GetPVarInt(playerid, "o3"), GetPlayerVehicleID(playerid),-0.009999, -1.649998, 0.549999, -72.360000, 0.000000, 0.000000);
- AttachObjectToVehicle(GetPVarInt(playerid, "o4"), GetPlayerVehicleID(playerid),-0.009999, 1.584998, 0.344999, -77.384986, 0.000000, -180.900100);
- SetObjectMaterialText(GetPVarInt(playerid, "o1"), "{00FFEE}Spirit\n{6EF83C}|_{FFAF00}Gamers{6EF83C}_|", 0, OBJECT_MATERIAL_SIZE_256x128,"Gabriola", 50, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
- SetObjectMaterialText(GetPVarInt(playerid, "o2"), "{00FFEE}Spirit\n{6EF83C}|_{FFAF00}Gamers{6EF83C}_|", 0, OBJECT_MATERIAL_SIZE_256x128,"Gabriola", 50, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
- SetObjectMaterialText(GetPVarInt(playerid, "o3"), "{00FFEE}Spirit\n{6EF83C}|_{FFAF00}Gamers{6EF83C}_|", 0, OBJECT_MATERIAL_SIZE_256x128,"Gabriola", 50, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
- SetObjectMaterialText(GetPVarInt(playerid, "o4"), "{00FFEE}Spirit\n{6EF83C}|_{FFAF00}Gamers{6EF83C}_|", 0, OBJECT_MATERIAL_SIZE_256x128,"Gabriola", 50, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
- SendClientMessage(playerid, 0xDEEE20FF, "You put logo on car!");
- }
- if(listitem == 1)
- {
- DestroyObject(GetPVarInt(playerid, "o1"));
- DestroyObject(GetPVarInt(playerid, "o2"));
- DestroyObject(GetPVarInt(playerid, "o3"));
- DestroyObject(GetPVarInt(playerid, "o4"));
- }
- }
- }
- return 1;
- }
- /*******************************************************************************
- ///// ///// End Of File \\\\\ \\\\\\
- ******************************************************************************/
Advertisement
Add Comment
Please, Sign In to add comment