[RDE]Secret Posted June 30, 2011 Report Posted June 30, 2011 Salut ..xD azi miam pus sv pe 0.3c )[ce intarziere ]am incercat sa pun cmd'u /neon pe sv ..bun lam downloadat lam pus in FS,apoi in server.cfgam intrat pe Server am scris /neon,mia aparut dialogu,apoi Selectez neonul si imi dispare casuta de dialog :| .. X( si nu imi pune nici neonulcmd'u este :public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/neon", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { ShowPlayerDialog(playerid, neondialog, DIALOG_STYLE_LIST, "Neoane", "Albastru\nRosu\nVerde\nAlb\nRoz\nGalben\nAlbastru doar 1 neon\nRosu doar 1 neon\nVerde doar 1 neon\nAlb doar 1 neon\nRoz doar 1 neon\nGalben doar 1 neon\nGirofar\nDemonteaza toate neoanele", "Selecteaza", "Anulare"); } return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == neondialog) { if(response) { if(listitem == 0) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0)); SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 1) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon2", CreateObject(18647,0,0,0,0,0,0)); SetPVarInt(playerid, "neon3", CreateObject(18647,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon2"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, "neon3"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 2) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon4", CreateObject(18649,0,0,0,0,0,0)); SetPVarInt(playerid, "neon5", CreateObject(18649,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon4"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, "neon5"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 3) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0)); SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 4) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0)); SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 5) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0)); SetPVarInt(playerid, "neon11", CreateObject(18650,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon10"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0); AttachObjectToVehicle(GetPVarInt(playerid, "neon11"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 6) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon12", CreateObject(18648,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon12"), GetPlayerVehicleID(playerid), -0.0, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 7) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon13", CreateObject(18647,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon13"), GetPlayerVehicleID(playerid), -0.0, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 8) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon14", CreateObject(18649,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon14"), GetPlayerVehicleID(playerid), -0.0, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 9) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon15", CreateObject(18652,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon15"), GetPlayerVehicleID(playerid), -0.0, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 10) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon16", CreateObject(18651,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon16"), GetPlayerVehicleID(playerid), -0.0, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 11) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon17", CreateObject(18650,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon17"), GetPlayerVehicleID(playerid), -0.0, 0.0, -0.70, 0.0, 0.0, 0.0); SendClientMessage(playerid, 0x20FF00FF, "Neon montat"); } if(listitem == 12) { SetPVarInt(playerid, "Status", 1); SetPVarInt(playerid, "neon18", CreateObject(18646,0,0,0,0,0,0)); SetPVarInt(playerid, "neon19", CreateObject(18646,0,0,0,0,0,0)); AttachObjectToVehicle(GetPVarInt(playerid, "neon18"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0); AttachObjectToVehicle(GetPVarInt(playerid, "neon19"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0); SendClientMessage(playerid, 0x20FF00FF, "Girofar montat"); } if(listitem == 13){DestroyObject(GetPVarInt(playerid, "neon")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon1")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon2")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon3")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon4")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon5")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon6")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon7")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon8")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon9")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon10")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon13")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon12")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon13")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon14")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon15")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon16")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon17")); DestroyObject(GetPVarInt(playerid, "neon18")); DestroyObject(GetPVarInt(playerid, "neon19")); DeletePVar(playerid, "Status"); } } } return 0; }Pls ajutatima ;x youtube.com/secretofficial1 < - SECRET CHANNEL !
xxSPEEDYxx Posted June 30, 2011 Report Posted June 30, 2011 pune acolo #define neondialog 12000 si incearca sa vezi daca mai face asa;) Fara reclama in semnatura!
ionutuidumanu Posted June 30, 2011 Report Posted June 30, 2011 Pune la inceput adica fileterscript neon eu asa aveam la un FS imi disparea dialogul pana lam pus primu la filterscript The Legend
[RDE]Secret Posted June 30, 2011 Author Report Posted June 30, 2011 pune acolo #define neondialog 12000 si incearca sa vezi daca mai face asa;)Gata imi mergemersi f mult speedy xD youtube.com/secretofficial1 < - SECRET CHANNEL !
Question
[RDE]Secret
Salut ..xD
azi miam pus sv pe 0.3c )[ce intarziere ]
am incercat sa pun cmd'u /neon pe sv ..bun lam downloadat lam pus in FS,apoi in server.cfg
am intrat pe Server am scris /neon,mia aparut dialogu,apoi Selectez neonul si imi dispare casuta de dialog :| .. X( si nu imi pune nici neonul
cmd'u este :
Pls ajutatima ;x
youtube.com/secretofficial1 < - SECRET CHANNEL !
3 answers to this question
Recommended Posts