Jump to content

Recommended Posts

Posted

Am si eu nevoie de un tutorial cum as putea sa fac comanda /eat..

Am adaugat un restaurant..si nu am comanda /eat de loc in gm..si nu stiu cum sa i fac..Ati putea sa ma ajutati? gen cmd:eat.....

Posted
CMD:eat(playerid,params[]) //Example eat command
{
	SendClientMessage(playerid, -1, "Hmmmm.. that was some good food!"); //Send message to let the player know they're full again
	pInfo[playerid][Hunger] = 100; // 'fill the stomach'
	SetProgressBarValue(hungerbar[playerid], pInfo[playerid][Hunger]); //Sets the progress bar to the hunger value
	return 1;
}
  • Upvote 2

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Posted
Acum 29 minute, Geani a spus:

CMD:eat(playerid,params[]) //Example eat command
{
	SendClientMessage(playerid, -1, "Hmmmm.. that was some good food!"); //Send message to let the player know they're full again
	pInfo[playerid][Hunger] = 100; // 'fill the stomach'
	SetProgressBarValue(hungerbar[playerid], pInfo[playerid][Hunger]); //Sets the progress bar to the hunger value
	return 1;
}

Am luat niste erori..Ce sa fac? frate si pe mine ma intereseaza..ca comanda asta sa pot sa o scriu,doar in acel biz..adica in restaurant..nu doar asa comanda..

Untitled.png

Posted (edited)

cu placere!

Edited by Geani
  • Upvote 1

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

  • 2 weeks later...
Posted
On 11/28/2016 at 6:55 PM, Geani said:

daca va-m fost de folos dati si voi +1

mișto e că este luată de pe net acea comandă.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.