Jump to content
  • 0

Cum pot crea comanda work


KB.HERO

Question

Salut cum spun si din titlu cum pot crea comanda work cape ruby la jobul de trucker 

Daca ma poate ajuta cineva las multumi 

 Încearcă să fii un om de valoare și nu neapărat un om de succes.

 

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Uite aici un pastebin, ti-am lasat unde sa editezi coordonatele. https://pastebin.com/29cUzyLX

 

E facuta doar pt job trucker, asa cum ai cerut.

Edited by View404

Bot developer (Discord): https://discordapp.com/oauth2/authorize?client_id=584989992481193989&scope=bot&permissions=8

Web Developer (Disponibil pentru proiecte noi, experienta de 3 ani in php, mysql si web design)

Scripter SA:MP (Am reinceput sa lucrez in domeniul acesta pentru a sustine comunitatea de samp dupa o pauza de 2 ani)

Link to comment
Share on other sites

  • 0

Sunt citeva erori 

C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20032) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20035) : error 017: undefined symbol "workdeja"
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20035) : warning 215: expression has no effect
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20035) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20035) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20035) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
 

Edited by KB.HERO

 Încearcă să fii un om de valoare și nu neapărat un om de succes.

 

Link to comment
Share on other sites

  • 0
8 hours ago, KB.HERO said:

Sunt citeva erori 

C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20032) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20035) : error 017: undefined symbol "workdeja"
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20035) : warning 215: expression has no effect
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20035) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20035) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20035) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
 

Tu vrei comanda, da nu stii sa definesti niste variabile, ce sa zic :))

ON: gasesti toate comenzile de pe ruby pe ruby.nephrite.ro / jade.nephrite.ro, a publicat ksenon gamemode-ul pe forum.

Link to comment
Share on other sites

  • 0
2 hours ago, AlexuTzuBss said:

https://pastebin.com/rwvBGBD8    incearca asta (e pentru pizza boy)

C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : warning 215: expression has no effect
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
 

if(PlayerJob(playerid) == 0) return SendClientMessage([playerid], 0x949494FF, "Eroare: Nu ai niciun job.Foloseste comanda /jobs.");

 Încearcă să fii un om de valoare și nu neapărat un om de succes.

 

Link to comment
Share on other sites

  • 0
Acum 21 minute, KB.HERO a spus:

C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : warning 215: expression has no effect
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
 

if(PlayerJob(playerid) == 0) return SendClientMessage([playerid], 0x949494FF, "Eroare: Nu ai niciun job.Foloseste comanda /jobs.");

if(PlayerInfo[playerid][pJob] == 0) return SCM(playerid,  -1,  "Eroare: Nu ai niciun job.Foloseste comanda /jobs.");

Discord:  MihaiADV⚡#2962

Server discord Developers:  click

Server discord RAGE:MP:  click

Status project RAGE:MP (site):  click

Link to comment
Share on other sites

  • 0
9 hours ago, KB.HERO said:

C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : warning 215: expression has no effect
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\Gamemode\gamemodes\BigZoneGM.pwn(20028) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
 

if(PlayerJob(playerid) == 0) return SendClientMessage([playerid], 0x949494FF, "Eroare: Nu ai niciun job.Foloseste comanda /jobs.");

 Asa if(PlayerJob[playerid] == 0) return SendClientMessage(playerid, 0x949494FF, "Eroare: Nu ai niciun job.Foloseste comanda /jobs.");

Nu asa if(PlayerJob(playerid) == 0) return SendClientMessage([playerid], 0x949494FF, "Eroare: Nu ai niciun job.Foloseste comanda /jobs.");

Tu la SendClientMessage ai pus la playerid [playerid], dar trebuie lasat fara acele paranteze patrate!

Link to comment
Share on other sites

  • 0
Acum 1 oră, AlexuTzuBss a spus:

 Asa if(PlayerJob[playerid] == 0) return SendClientMessage(playerid, 0x949494FF, "Eroare: Nu ai niciun job.Foloseste comanda /jobs.");

Nu asa if(PlayerJob(playerid) == 0) return SendClientMessage([playerid], 0x949494FF, "Eroare: Nu ai niciun job.Foloseste comanda /jobs.");

Tu la SendClientMessage ai pus la playerid [playerid], dar trebuie lasat fara acele paranteze patrate!

L-am rezolvat eu cred ca daia nu mai da reply

Discord:  MihaiADV⚡#2962

Server discord Developers:  click

Server discord RAGE:MP:  click

Status project RAGE:MP (site):  click

Link to comment
Share on other sites

  • 0
7 minutes ago, MyhayADV said:

L-am rezolvat eu cred ca daia nu mai da reply

De rezolvat am facut doar ca cind dau work si imi da masina nu pot sami aleg o destinate 

Trebuie sa refac sistemul de trucker pe gm bigzone

 Încearcă să fii un om de valoare și nu neapărat un om de succes.

 

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
Answer this question...

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