/takejob - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /takejob (
/showthread.php?tid=155894)
/takejob -
Mechscape - 20.06.2010
FIXED
Re: /takejob -
mprofitt - 20.06.2010
What is the
variable value?
Quote:
Originally Posted by Picharelo
Код:
else if(GetPlayerState(i) == 1 && PlayerToPoint(2.0, i,97.9245,-160.4469,2.5868))
{
if(PlayerInfo[i][pJob] > 0)
{
// Nothing
}
else
{
GameTextForPlayer(i, "~w~Register ~n~ ~g~Mehaanik ~n~ ~y~/v6tat88", 5000, 3);
}
}
Im at that position, and that gametext doenst show up.
|
Re: /takejob -
Mechscape - 20.06.2010
Theres no variable values?
Код:
enum pInfo
{
pKey[128],
......
pCash,
.....
pKills,
pDeaths,
....
pJob,
....
};
new PlayerInfo[MAX_PLAYERS][pInfo];
Re: /takejob -
mprofitt - 20.06.2010
What I am asking is....
Is this statement preventing your game text?
Код:
if(PlayerInfo[i][pJob] > 0)
If it equals 0, your game text will not show.
Quote:
Originally Posted by Picharelo
Theres no variable values?
Код:
enum pInfo
{
pKey[128],
......
pCash,
.....
pKills,
pDeaths,
....
pJob,
....
};
new PlayerInfo[MAX_PLAYERS][pInfo];
|
Re: /takejob -
Mechscape - 20.06.2010
If
job is 0, then gametext shows
If
job isnt 0, then gametext doenst shows.
Re: /takejob -
mprofitt - 20.06.2010
Your right, i need to get some sleep.
Anyways, why the else then?
Quote:
Originally Posted by Picharelo
If job is 0, then gametext shows
If job isnt 0, then gametext doenst shows.
|
Re: /takejob -
Mechscape - 20.06.2010
FIXED!
Re: /takejob -
Antonio [G-RP] - 20.06.2010
Nice avatar, who is it? Papa needs a new background.