SA-MP Forums Archive
Help! - 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)
+--- Thread: Help! (/showthread.php?tid=575966)



Help! - lwilson - 31.05.2015

Код:
\\MHINOSKI10\San Andreas Life Roleplay\gamemodes\SAL-RP_script.PWN(18123) : warning 215: expression has no effect
\\MHINOSKI10\San Andreas Life Roleplay\gamemodes\SAL-RP_script.PWN(18123) : error 001: expected token: ";", but found "["
\\MHINOSKI10\San Andreas Life Roleplay\gamemodes\SAL-RP_script.PWN(18123) : error 029: invalid expression, assumed zero
\\MHINOSKI10\San Andreas Life Roleplay\gamemodes\SAL-RP_script.PWN(18123) : warning 215: expression has no effect
\\MHINOSKI10\San Andreas Life Roleplay\gamemodes\SAL-RP_script.PWN(18123) : error 001: expected token: ";", but found "]"
\\MHINOSKI10\San Andreas Life Roleplay\gamemodes\SAL-RP_script.PWN(18123) : fatal error 107: too many error messages on one line
PHP код:
    PlayerInfo[playerid][MSlot] = 0;
    
PlayerInfo[playerid][Slotu] = 0;
    
PlayerInfo[playerid][Weapons][0] = 0// 18123 Error Line.
    
PlayerInfo[playerid][Weapons][1] = 0;
    
PlayerInfo[playerid][Ammos][0] = 0;
    
PlayerInfo[playerid][Ammos][1] = 0



Re: Help! - lwilson - 31.05.2015

HelP!


Re: Help! - lwilson - 01.06.2015

BUMP!


Re: Help! - Pottus - 01.06.2015

Why don't you ask the person who wrote the script?


Re: Help! - SickAttack - 01.06.2015

I guess it's like this:
pawn Код:
PlayerInfo[playerid][MSlot] = 0;
PlayerInfo[playerid][Slotu] = 0;
PlayerInfo[playerid][Weapons[0]] = 0;
PlayerInfo[playerid][Weapons[1]] = 0;
PlayerInfo[playerid][Ammos[0]] = 0;
PlayerInfo[playerid][Ammos[1]] = 0;
If it wasn't, the first two would have another dimension too.


Re: Help! - SoFahim - 01.06.2015

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
I guess it's like this:
pawn Код:
PlayerInfo[playerid][MSlot] = 0;
PlayerInfo[playerid][Slotu] = 0;
PlayerInfo[playerid][Weapons[0]] = 0;
PlayerInfo[playerid][Weapons[1]] = 0;
PlayerInfo[playerid][Ammos[0]] = 0;
PlayerInfo[playerid][Ammos[1]] = 0;
If it wasn't, the first two would have another dimension too.
Try to see that playerinfo[playerid][Weapons][0] right or PlayerInfo[playerid][Weapons[1]] right. check first and tell us again