Jump to content

Modificare gamemode


Mihai94TDI

Recommended Posts

va salut, am pus si eu acel gamemode editat/creat de BUHA si as vrea daca stie cineva sa imi adauge comenzile urmatoare sa pot face masini vip cu puncte premium si cand sunt in casa sa pot da /hupgrade si sa pun muzica si frigider la frigider sa platesti cu bani iar la muzica cu puncte premium.

sursa:

https://www19.zippyshare.com/v/DEd3XGwj/file.html

Link to comment
Share on other sites

Sectiunea se numeste "Ajutor scripting" in care te ajutam cu cu erorile/problemele pe care le intapini in momentul in care vrei sa faci acele lucruri.

Nimeni de aici nu iti va face acele lucruri cu hocus pocus. O solutie ar fi sa platesti pe cineva de la sectiunea "Ofer servicii" sau recrutezi un scripter care lucreaza pe gratis si care va fi binevoitor sa iti faca cerintele

Link to comment
Share on other sites

1 hour ago, Mihai94TDI said:

nu am stiut, am crezut ca aici se posteaza, ma gandeam ca sunt scripteri care ofera ajutor.

Te gandeai bine, ofera ajutor, adica te ajuta sa faci ceva, nu iti face ceva.

Link to comment
Share on other sites

Acum 14 ore, Lunoxx a spus:

Te gandeai bine, ofera ajutor, adica te ajuta sa faci ceva, nu iti face ceva.

https://www44.zippyshare.com/v/wJQOUiey/file.html

uite am gasit acest gm a lui buha v3 are cam tot ce trebuie in el numai ca da eroarea asta la compilare.

C:\Users\Mihai\Desktop\mozzila.pwn(51340) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Link to comment
Share on other sites

Eroarea aia apare cand nu ai aceeasi parametri la public si forward (in cele mai multe dintre cazuri).

Edited by Lunoxx
Link to comment
Share on other sites

3 minutes ago, Mihai94TDI said:

si nu stii cum se poate rezolva?

Trebuie doar sa folosesti corect parametrii, nu.. ? :))

  • Haha 1
Link to comment
Share on other sites

Acum 19 minute, Banditul a spus:
OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)

E de fapt ce iti trebuie. Sursa: https://github.com/samp-incognito/samp-streamer-plugin/wiki/Callbacks

am inlocuit acolo la linia aia dar tot imi da erorile astea

C:\Users\Mihai\Desktop\mozzila.pwn(51340) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Users\Mihai\Desktop\mozzila.pwn(51340) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Users\Mihai\Desktop\mozzila.pwn(51340) : warning 219: local variable "rz" shadows a variable at a preceding level
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


3 Warnings.

Edited by Mihai94TDI
Link to comment
Share on other sites

Nu am descarcat sursa, poti sa-mi zici la ce functie iti da eroarea aia?
Din ce am vazut in comentarii, e ceva legat de streamer. Deschide streamer.inc din includes si verifica parametrii functiei la care primesti eroare, apoi uita-te daca ii folosesti corect in gamemode.

Link to comment
Share on other sites

Acum 1 minut, Lunoxx a spus:

Nu am descarcat sursa, poti sa-mi zici la ce functie iti da eroarea aia?
Din ce am vazut in comentarii, e ceva legat de streamer. Deschide streamer.inc din includes si verifica parametrii functiei la care primesti eroare, apoi uita-te daca ii folosesti corect in gamemode.

sa compilat pana la urma numai ca nu isi gaseste modul apare unkown la mode, in server.cfg e trecut modul corect, sv porneste. iar in log da eroarea asta

[18:03:51] [debug] Run time error 19: "File or function is not found"
[18:03:51] [debug]  PC_RegAlias
[18:03:51] OnGameo
[18:03:51] [debug] Run time error 19: "File or function is not found"
[18:03:51] [debug]  PC_RegAlias
[18:03:51] Script[gamemodes/mozzila.amx]: Run time error 19: "File or function is not found"
[18:03:51] Number of vehicle models: 0

Link to comment
Share on other sites

 

Acum 21 minute, Banditul a spus:

https://forum.sa-mp.com/showthread.php?t=455086

Este exact problema ta. inseamna ca ai ceva de genul

new rx, ry, rz;

//cod de la gm aici
OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)

//mai mult cod aici

 

sa rezolvat problema cu erorile alea 3, dar de ce nu imi citeste gamemodul? imi apare la mode unkown.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.