SA-MP Forums Archive
[HELP] What is wrong with this command? [SOLVED] - 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: [HELP] What is wrong with this command? [SOLVED] (/showthread.php?tid=85413)



[HELP] What is wrong with this command? [SOLVED] - Spatman - 07.07.2009

SOLVED! THANK YOU !


Re: [HELP] What is wrong with this command? - Spatman - 07.07.2009

Please help anyone?


Re: [HELP] What is wrong with this command? - happyface - 07.07.2009

you say they aren't [pJapanese] == 10, but are they [pMember] == 13 or [pLeader] == 13?


Re: [HELP] What is wrong with this command? - Spatman - 08.07.2009

Quote:
Originally Posted by happyface
you say they aren't [pJapanese] == 10, but are they [pMember] == 13 or [pLeader] == 13?
No, they arent..


Re: [HELP] What is wrong with this command? - Spatman - 08.07.2009

I dont see any problem in this.............


Re: [HELP] What is wrong with this command? - yezizhu - 08.07.2009

Код:
{ if(PlayerToPoint(20, i, x, y, z))
{ if(PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pJapanese] == 10)
{ if(PlayerInfo[playerid][pMaskuse] == 1)
{ format(string, sizeof(string), "Masked Stranger: [Japanese] %s", result);

PlayerInfo[playerid] should be PlayerInfo[i]



Re: [HELP] What is wrong with this command? - Spatman - 08.07.2009

Quote:
Originally Posted by yezizhu
Код:
{ if(PlayerToPoint(20, i, x, y, z))
{ if(PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pJapanese] == 10)
{ if(PlayerInfo[playerid][pMaskuse] == 1)
{ format(string, sizeof(string), "Masked Stranger: [Japanese] %s", result);

PlayerInfo[playerid] should be PlayerInfo[i]
BIG F*CKING THANKS TO YOU!! D Silly me, ofc it should be 'i' not 'playerid' Thanks man!