How to define stuff?
#1

If I want to make like "IsAGov" or stuff like that. How would I define the? I would like to be given a short tutorial on define and how it works, the simple way, please. It will be kind of you.
Reply
#2

Make it a stock, you don't need to define it.
Reply
#3

What's your current variable for saving the players gov.

I do an example:

Код:
pInfo[playerid][pGov] // That's your variable
Код:
stock IsAGov(playerid)
{
	if(pInfo[playerid][pGov] == 1)
	{
	    return 1;
	} else return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)