Jump to content

DeViLz_RO

Membru
  • Posts

    15
  • Joined

  • Last visited

    Never

DeViLz_RO's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Am schimbat si NIMIC Dupa ce imi arata primul dialog,trebuia sa mi-l arate pe urmatorul dar nu se intampla nimic. Dialogurile astea apartin unui FS,conectat la Gamemode (luat de pe net).Oare sa fie de acolo? Va rog ajutor nu merge NIMIC din FS Nu merg Nici dialogurile Nici CheckPoints
  2. Nick: DeViLz_RO Problema: Am niste probleme cu dialoguri,primul dialog mi-l arata,dar dupa ce apas OK Sau altceva nu mai arata niciun dialog (urmatorul).Mentionez ca este vorba de un GM + FS Dialog:[pawn]public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 55555) { if(response) { ShowPlayerDialog(playerid,55555,DIALOG_STYLE_MSGBOX,"Intrebarea numarul 1.","{77A3F0}Pe care parte trebuie sa conduci mereu?","Dreapta", "Stanga"); return 1; } SCM(playerid, COLOR_CRS3, "** Testul sa oprit pentru ca ai apasat pe iesire."); DMVTest[playerid] = 0; return 1; } if(dialogid == 650000) { if(response) { ShowPlayerDialog(playerid,650000,DIALOG_STYLE_MSGBOX,"Intrebarea numarul 2.","{F9F7CE}Bravo la prima intrebare ai raspuns corect.\n\n{77A3F0}Din imaginea urmatoare,Care sofrer are prioritate?","Dreapta", "Stanga"); return 1; } SCM(playerid, COLOR_CRS3, "** Imi pare rau, dar ai raspuns gresit la aceasta intrebare."); DMVTest[playerid] = 0; return 1; } if(dialogid == 3215) { if(response) { ShowPlayerDialog(playerid,3215,DIALOG_STYLE_MSGBOX,"Intrebarea numarul 3.","{F9F7CE}Bravo si la a doua intrebare ai raspuns corect.\n\n{77A3F0}Trebuie sa opresc masina cand imi cere un politist?","Da", "Nu"); return 1; } SCM(playerid, COLOR_CRS3, "** Imi pare rau, dar ai raspuns gresit la aceasta intrebare."); DMVTest[playerid] = 0; return 1; }[/pawn] Hmm ma intreb de ce nu raspunde la dialoguri? :undecided: Va rog ajutor,daca mai e nevoie de ceva cereti mai jos !
  3. Vreau sa fac o comanda pentru factiunea 18 (adica TCC),am modificat acolo dar imi zice ca nu-s membru .Va rog ajutor,daca vreti sa imi puneti comanda intreaga,v-as fi recunoscator.
  4. Ai dat /v park ?.Cel putin asa se intampla la mine! :D
  5. Noi de unde sa stim,pune Liniile sa vedem
  6. Nu e aici problema .E la la player spawns
  7. Trebuie sa muti asa ,DOAR MUTI NU STERGI MIMIC DIN CE E PE HOST. 1.GM (pwn si amx) 2.Scriptfiles
  8. Nu e buna comanda,Re-fao
  9. Poti pune Script-ul sa vedem si noi (mai ales jobul)
  10. #include <a_samp> 7. 8. new IsInGunShop[MAX_PLAYERS]; 9. new GunShopID[MAX_PLAYERS]; 10. new gunshop; 11. new exit1; 12. 13. #define COLOR_BEIGE 0xFFF8DCAA 14. #define COLOR_GREY 0xAFAFAFAA 15. 16. public OnFilterScriptInit() 17. { 18. gunshop = CreatePickup(1254, 23, 1368.1334, -1279.7281, 13.5469); //virtual world = 0 19. exit1 = CreatePickup(1254, 23, 315.6991, -143.3934, 999.6016, 1); //virtual world = 1 20. return 1; 21. } 22. 23. public OnFilterScriptExit() 24. { 25. return 1; 26. } 27. 28. public OnPlayerPickUpPickup(playerid, pickupid) 29. { 30. if(pickupid == gunshop) 31. { 32. SetPlayerInterior(playerid, 7); 33. SetPlayerVirtualWorld(playerid, 1); 34. SetPlayerPos(playerid, 314.820983,-141.431991,999.601562); //amunation interior cords 35. SendClientMessage(playerid, 0xFF1493AA, "Press Y for gun menu"); //pink 36. IsInGunShop[playerid] = 1; 37. GunShopID[playerid] = 1; 38. } 39. else if(pickupid == exit1) 40. { 41. SetPlayerInterior(playerid, 0); 42. SetPlayerVirtualWorld(playerid, 0); 43. SetPlayerPos(playerid, 1366.1420,-1279.5422,13.5469); //teleport outside ammunation 44. IsInGunShop[playerid] = 0; 45. GunShopID[playerid] = 0; 46. } 47. return 1; 48. } 49. 50. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) 51. { 52. if(newkeys & KEY_YES) // Y button 53. { 54. if(IsPlayerInRangeOfPoint(playerid, 20, 314.820983,-141.431991,999.601562)) 55. { 56. ShowPlayerDialog(playerid, 100, DIALOG_STYLE_LIST, "Ammu-Nation", "Health ($10,000)\nArmour ($11,500)\n9mm ($2,000)\nDesert Eagle ($5,000)\nMP5 ($8,500)\nCombat Shotgun ($10,000)\nSniper Rifle ($10,000)\nUzi ($12,000)\nM4 ($12,500)", "Select", "Cancel"); 57. } 58. else return SendClientMessage(playerid, 0xFF0000AA, "You are not in ammunation!"); 59. } 60. return 1; 61. } 62. 63. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) 64. { 65. //================================================================// 66. // Gun Shop // 67. //================================================================// 68. if(dialogid == 100) 69. { 70. if(response) 71. { 72. if(listitem == 0) 73. { 74. if(GetPlayerMoney(playerid) >= 10000) 75. { 76. GivePlayerMoney(playerid, -10000); 77. SetPlayerHealth(playerid, 100); 78. SendClientMessage(playerid, COLOR_BEIGE, "[server] You bought Health!"); 79. } 80. else 81. { 82. SendClientMessage(playerid, COLOR_GREY, "[server] You dont have enough money!"); 83. } 84. } 85. if(listitem == 1) 86. { 87. if(GetPlayerMoney(playerid) >= 11500) 88. { 89. GivePlayerMoney(playerid, -11500); 90. SetPlayerArmour(playerid, 100); 91. SendClientMessage(playerid, COLOR_BEIGE, "[server] You bought Armour!"); 92. } 93. else 94. { 95. SendClientMessage(playerid, COLOR_GREY, "[server] You dont have enough money!"); 96. } 97. } 98. if(listitem == 2) 99. { 100. if(GetPlayerMoney(playerid) >= 2000) 101. { 102. GivePlayerMoney(playerid, -2000); 103. GivePlayerWeapon(playerid, 22, 250); 104. SendClientMessage(playerid, COLOR_BEIGE, "[server] You bought a 9mm!"); 105. } 106. else 107. { 108. SendClientMessage(playerid, COLOR_GREY, "[server] You dont have enough money!"); 109. } 110. } 111. if(listitem == 3) 112. { 113. if(GetPlayerMoney(playerid) >= 5000) 114. { 115. GivePlayerMoney(playerid, -5000); 116. GivePlayerWeapon(playerid, 24, 250); 117. SendClientMessage(playerid, COLOR_BEIGE, "[server] You bought a Desert Eagle!"); 118. } 119. else 120. { 121. SendClientMessage(playerid, COLOR_GREY, "[server] You dont have enough money!"); 122. } 123. } 124. if(listitem == 4) 125. { 126. if(GetPlayerMoney(playerid) >= 8500) 127. { 128. GivePlayerMoney(playerid, -8500); 129. GivePlayerWeapon(playerid, 29, 250); 130. SendClientMessage(playerid, COLOR_BEIGE, "[server] You bought a MP5!"); 131. } 132. else 133. { 134. SendClientMessage(playerid, COLOR_GREY, "[server] You dont have enough money!"); 135. } 136. } 137. if(listitem == 5) 138. { 139. if(GetPlayerMoney(playerid) >= 10000) 140. { 141. GivePlayerMoney(playerid, -10000); 142. GivePlayerWeapon(playerid, 27, 250); 143. SendClientMessage(playerid, COLOR_BEIGE, "[server] You bought a Combat Shotgun!"); 144. } 145. else 146. { 147. SendClientMessage(playerid, COLOR_GREY, "[server] You dont have enough money!"); 148. } 149. } 150. if(listitem == 6) 151. { 152. if(GetPlayerMoney(playerid) >= 10000) 153. { 154. GivePlayerMoney(playerid, -10000); 155. GivePlayerWeapon(playerid, 34, 250); 156. SendClientMessage(playerid, COLOR_BEIGE, "[server] You bought a Sniper Rifle!"); 157. } 158. else 159. { 160. SendClientMessage(playerid, COLOR_GREY, "[server] You dont have enough money!"); 161. } 162. } 163. 164. if(listitem == 7) 165. { 166. if(GetPlayerMoney(playerid) >= 12000) 167. { 168. GivePlayerMoney(playerid, -12000); 169. GivePlayerWeapon(playerid, 28, 250); 170. SendClientMessage(playerid, COLOR_BEIGE, "[server] You bought a Uzi!"); 171. } 172. else 173. { 174. SendClientMessage(playerid, COLOR_GREY, "[server] You dont have enough money!"); 175. } 176. } 177. 178. if(listitem == 8) 179. { 180. if(GetPlayerMoney(playerid) >= 12500) 181. { 182. GivePlayerMoney(playerid, -12500); 183. GivePlayerWeapon(playerid, 31, 250); 184. SendClientMessage(playerid, COLOR_BEIGE, "[server] You bought a M4!"); 185. } 186. else 187. { 188. SendClientMessage(playerid, COLOR_GREY, "[server] You dont have enough money!"); 189. } 190. } 191. } 192. } 193. return 1;
  11. Buna,am Gamemode PRO-GAMING Si am un bug la commanda /buygun ,cand dau nu merge si dupa se blocheaza toate comenzile ,nu stiu ce trebuie sa fac sunt begginer va rog ajutor cat mai detaliat cu putinta. Multumesc anticipat.
  12. Nume:Stefan Nume tutorial:Un tutorial cum sa montezi un script pt arme la un magazinn Descriere:Salut.Vreau sa faceti un tutorial cum sa facem un gun shop (la propriu),adica sa poti cumpara arme numai din magazin.
  13. Detin gamemode Pro-Gaming 4.8 si exista un bug: Daca sunt leader la factiune Clanul Camataru,si incerc sa iau masinile de la factiune,imi zice ca sunt pentru cumparare.Am incercat orice,vrerificat script,tot si de fiecare data cand redeschid serverul face bugul asta Multumesc anticipat
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.