Jump to content

BLuE_GaMeR

Membru
  • Posts

    52
  • Joined

  • Last visited

    Never

Everything posted by BLuE_GaMeR

  1. Salut ! Este un filterscript simplu pentru ca este primul meu filterscript ! Lanja Plaja LS este locul de unde cumparati mancare , iar comanda pentru a cumpara mancare este /food cand esti la acel loc. Poze: [img width=500 height=375]http://www.xerom-zone.com/imghost/image.php?di=MARJ [img width=500 height=375]http://www.xerom-zone.com/imghost/image.php?di=O483 Download PWN: [download]http://www.solidfiles.com/d/8a0443a855/FoodShop.pwn[/download] Download AMX: [download]http://www.solidfiles.com/d/5bd05a6dd2/FoodShop.amx[/download] Ca Sa Va Mearga Va Trebuie Include-ul ZCMD ! Daca Gasiti Un Bug Sau Aveti O Sugestie Faceti Reply In Acest Topic !
  2. Nu stau pe loc... Am facut cum ai zis tu si tot lafel Cand merg cu masina si dau speed boost imi da doar explozia dar nu si viteza Mentionez ca inainte sa bag if(IsPlayerInAnyVehicle etc... mergea , imi dadea viteza speed boostu dar puteam sa dau speed boost si cand nu eram in masina si ma omora ! EDIT: Am sters tot speed boostul , am pus totul de la capat si a mers. Puteti da T/C !
  3. Pai nu sa incarcat un plugin [09:48:48] Loading plugin: mysql.so [09:48:48] Failed (plugins/mysql.so: cannot open shared object file: No such file or directory) De asta iti da eroarea: [09:48:50] Script[gamemodes/gfsql.amx]: Run time error 19: "File or function is not found" [09:48:50] Number of vehicle models: 0
  4. Salut Sa-Mp.Ro , am adaugat la gamemode-ul meu la speed boost sa nu poti da speed boost fara sa fi in masina. Iar acum nu mai imi da viteza speed boostu cand sunt in masina , cand mergea speed boostu si inafara masini imi dadea speed acum nu mai imi da. La compilare nu imi da nici o eroare/warning ! Inainte cand mergea speed boostu: [pawn]if(SpeedBoostMultiplier[playerid] > { new Float:vx, Float:vy, Float:vz, Float:px, Float:py, Float:pz; GetPlayerPos(playerid, px, py, pz); GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz); if(floatabs(vx) < 5 && floatabs(vy) < 5 && floatabs(vz) < 5) { SetVehicleVelocity(GetPlayerVehicleID(playerid), vx * SpeedBoostMultiplier[playerid], vy * SpeedBoostMultiplier[playerid], vz * SpeedBoostMultiplier[playerid]); SetVehicleHealth(GetPlayerVehicleID(playerid), 10000); CreateExplosion(px, py, pz, 11, 0.5); SetVehicleHealth(GetPlayerVehicleID(playerid), 10000); SetVehicleHealth(GetPlayerVehicleID(playerid), 1000); } return 1; }[/pawn] Acum cand nu mai imi da speed: [pawn]if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { if(SpeedBoostMultiplier[playerid] > 1) { new Float:vx, Float:vy, Float:vz, Float:px, Float:py, Float:pz; GetPlayerPos(playerid, px, py, pz); GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz); if(floatabs(vx) < 5 && floatabs(vy) < 5 && floatabs(vz) < 5) { SetVehicleVelocity(GetPlayerVehicleID(playerid), vx * SpeedBoostMultiplier[playerid], vy * SpeedBoostMultiplier[playerid], vz * SpeedBoostMultiplier[playerid]); SetVehicleHealth(GetPlayerVehicleID(playerid), 10000); CreateExplosion(px, py, pz, 11, 0.5); SetVehicleHealth(GetPlayerVehicleID(playerid), 10000); SetVehicleHealth(GetPlayerVehicleID(playerid), 1000); } } } return 1;[/pawn] Deci... ma puteti ajuta? :-)
  5. Am updatat includeurile si imi da aceleasi erori !
  6. Salut Sa-Mp.Ro , Mam apucat de un gamemode si am pus la onplayerdisconnect sa zica pe chat cand iese un player si cand compilez imi da o eroare. Eroarea: [pawn](83) : error 017: undefined symbol "reason"[/pawn] OnPlayerDissconect: [pawn]public OnPlayerDisconnect(playerid) { new nume[MAX_PLAYER_NAME]; new dstring[100 + MAX_PLAYER_NAME]; //========================================================================// GetPlayerName(playerid, nume, sizeof(nume)); switch(reason) { case 0: format(dstring, sizeof(dstring), "{00CCFF}Jucatorul %s A Iesit De Pe Server (Timeout)", nume); case 1: format(dstring, sizeof(dstring), "{00CCFF}Jucatorul %s A Iesit De Pe Server (Leaving/Crash)", nume); case 2: format(dstring, sizeof(dstring), "{00CCFF}Jucatorul %s A Iesit De Pe Server (Kicked/Banned)", nume); } SendClientMessageToAll(0xFFFFFFAA, dstring); return 1; }[/pawn] Deci... ma puteti ajuta?
  7. Uite Aici: http://www.sa-mp.ro/forum/index.php?board=121.0
  8. La categoria discutii scripting nu se cer scripturi
  9. Incearca sa compilezi cu un pawno de la alt server
  10. Salutare Sa-Mp.Ro ! Am un gamemode si cand il deschid imi da erorile astea in consola: [pawn] SA-MP Dedicated Server ---------------------- v0.3x-R2, ©2005-2013 SA-MP Team [14:59:35] [14:59:35] Server Plugins [14:59:35] -------------- [14:59:35] Loading plugin: crashdetect [14:59:35] Loaded. [14:59:35] Loading plugin: gvar [14:59:35] *** GVar Plugin v1.3 by Incognito loaded *** [14:59:35] Loaded. [14:59:35] Loading plugin: mysql [14:59:35] >> plugin.mysql: R34 successfully loaded. [14:59:35] Loaded. [14:59:35] Loading plugin: nativechecker [14:59:35] Loaded. [14:59:35] Loading plugin: sscanf [14:59:35] [14:59:35] =============================== [14:59:35] sscanf plugin loaded. [14:59:35] Version: 2.8.1 [14:59:35] © 2012 Alex "Y_Less" Cole [14:59:35] =============================== [14:59:35] Loaded. [14:59:35] Loading plugin: streamer [14:59:35] *** Streamer Plugin v2.3.8 by Incognito loaded *** [14:59:35] Loaded. [14:59:35] Loading plugin: Whirlpool [14:59:35] [14:59:35] ================== [14:59:35] [14:59:35] Whirlpool loaded [14:59:35] [14:59:35] ================== [14:59:35] [14:59:35] Loaded. [14:59:35] Loaded 7 plugins. [14:59:35] [14:59:35] Filterscripts [14:59:35] --------------- [14:59:35] Loading filterscript 'Objects-RRS.amx'... [14:59:35] Error: Function not registered: 'Streamer_CallbackHook' [14:59:35] Error: Function not registered: 'CreateDynamicObject' [14:59:35] Loading filterscript 'GangBases.amx'... [14:59:35] Error: Function not registered: 'Streamer_CallbackHook' [14:59:35] Error: Function not registered: 'CreateDynamicObject' [14:59:35] Loading filterscript 'tune.amx'... [14:59:35] Loaded 3 filterscripts. [14:59:35] Error: Function not registered: 'SSCANF_Init' [14:59:35] Error: Function not registered: 'SSCANF_Join' [14:59:35] Error: Function not registered: 'SSCANF_Leave' [14:59:35] Error: Function not registered: 'Streamer_CallbackHook' [14:59:35] Error: Function not registered: 'IsPlayerInDynamicArea' [14:59:35] Error: Function not registered: 'DestroyDynamicObject' [14:59:35] Error: Function not registered: 'IsValidDynamicObject' [14:59:35] Error: Function not registered: 'IsPlayerInAnyDynamicArea' [14:59:35] Error: Function not registered: 'GetDynamicObjectPos' [14:59:35] Error: Function not registered: 'AttachDynamicObjectToVehicle' [14:59:35] Error: Function not registered: 'SetDynamicObjectPos' [14:59:35] Error: Function not registered: 'EditDynamicObject' [14:59:35] Error: Function not registered: 'Streamer_UpdateEx' [14:59:35] Error: Function not registered: 'Streamer_VisibleItems' [14:59:35] Error: Function not registered: 'CreateDynamicObject' [14:59:35] Error: Function not registered: 'SetDynamicObjectMaterial' [14:59:35] Error: Function not registered: 'SetDynamicObjectMaterialText' [14:59:35] Error: Function not registered: 'CreateDynamicPickup' [14:59:35] Error: Function not registered: 'CreateDynamic3DTextLabel' [14:59:35] Error: Function not registered: 'CreateDynamicCP' [14:59:35] Error: Function not registered: 'DestroyDynamicCP' [14:59:35] Error: Function not registered: 'sscanf' [14:59:35] Error: Function not registered: 'DestroyDynamic3DTextLabel' [14:59:35] Error: Function not registered: 'WP_Hash' [14:59:35] Error: Function not registered: 'UpdateDynamic3DTextLabelText' [14:59:35] Error: Function not registered: 'DestroyDynamicPickup' [14:59:35] Error: Function not registered: 'Streamer_Update' [14:59:35] Error: Function not registered: 'CreateDynamicRectangle' [14:59:35] Error: Function not registered: 'CreateDynamicMapIcon' [14:59:35] Error: Function not registered: 'MoveDynamicObject' [14:59:35] Error: Function not registered: 'sscanf' [14:59:35] Error: Function not registered: 'DestroyDynamicMapIcon' [14:59:35] Script[gamemodes/rrs.amx]: Run time error 19: "File or function is not found" [14:59:35] Number of vehicle models: 0[/pawn] Mentionez ca gamemode-ul initial a fost pe linux dar am pus pluginuri de windows Deci... ma puteti ajuta?
  11. Merge Mersi Mult Puteti da T/C !
  12. Merge Mersi Mult ! Puteti da T/C !
  13. Salut Sa:Mp.Ro , am facut de curand un filterscript si imi da erorile/warningurile astea: [pawn](63) : error 017: undefined symbol "InTDM" (63) : warning 215: expression has no effect (63) : error 001: expected token: ";", but found "]" (63) : error 029: invalid expression, assumed zero (63) : fatal error 107: too many error messages on one line[/pawn] Si nu inteleg dece , am pus new InTDM[MAX_PLAYERS]; etc... Uitati linia la care da erorile/warningurile: [pawn]public OnPlayerSpawn(playerid) { if(InTDM[playerid] == 1) { SetPlayerPos(playerid, 3.6017,1479.1057,12.7560); inTDM[playerid] = 1; } return 1; }[/pawn]
  14. Pune si tu comenzile sa vedem ce ai gresit...
  15. Nu am zis ca vreau sa se vada!!! Citeste Atent!!! :| Gamemode-ul grandlarc (Gamemode-ul default al sampului) nu le are!
  16. Maaa... eu am zis cum sa le scot... ca ele sunt puse uite:
  17. Ce coordonate ma? Eu am intrebat cum fac si eu sa nu se vada acele pickupuri de intrare in anumite cladiri care sunt si pe single player
  18. Salutare Sa-Mp.Ro ! Am observat ca pe gamemode-ul grandlarc (gamemode-ul default al sampului) nu se vad pickupurile galbene prin care se intra in anumite cladiri si as vrea sa stiu cum fac si eu sa nu se vada. Deci... ma puteti ajuta?
  19. BLuE_GaMeR

    Ajutor!

    Deci uite cum faci te duci unde vrei in gamemode si adaugi: EDIT: Gresisem ceva am scris OnPlayerStateChange in loc de OnPlayerKeyStateChange. Scuze [pawn]public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys == KEY_SUBMISSION) { // Aici pui comanda /engine } }[/pawn] KEY_SUBMISSION = Tasta 2 Uite aici ai un link cu toate key-urile: http://wiki.sa-mp.com/wiki/Keys ... unele trebuie definite Ca sa le definesti uite un exemplu pui sus in gamemode: #define KEY_YES (65536) KEY_YES = Key-ul 65536 = Value-ul Keyului de pe http://wiki.sa-mp.com/wiki/Keys
×
×
  • 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.