Jump to content
  • 0

Ajutor sistem de /free


MihaiADV

Question

Salut , am luat GM-UL THUG postat de Eduard69  si el nu avea sistem de /free , in fine am luat din alt gm sistemu , l-am facut dupa variabile mele si am niste erori la comanda /accept free (id)

Sistemu respectiv de accept: https://pastebin.com/cUKq8JEn

Erorile:  https://pastebin.com/WQgzpzG3

Liniile cu erorile sunt astea. 

 if(FreeOffer[playerid] != id)  return SendClientMessage(playerid, COLOR_DARKGRAY, "{FFB870}This player has not offered you free.");
 if(GetPlayerMoney(playerid) < FreePrice[playerid]) return SendClientMessage(playerid, COLOR_DARKGRAY, "{FFB870}You don't have money needed.");
 GetPlayerName(playerid, giveplayer, sizeof(giveplayer));
 GetPlayerName(FreeOffer[playerid], sendername, sizeof(sendername));

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

7 answers to this question

Recommended Posts

  • 0
Acum 9 ore, trrandafiru a spus:

new giveplayer[64];

new id;

 :))))
 

Stiam asta , dar ma gandeam ca trebuie inlocuite alea cu ceva ce am eu in gm si nah.

Edited by Stroe Mihai

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

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.