Please HELP[BIG WRONG]
#1

Hi all. I have one problem,drop one wrong.Please HELP
This WARNING
Код:
C:\Documents and Settings\Simas\Desktop\Romas(Netrink)\Romas\startGM by Leo G v0.0.1\gamemodes\startGM.pwn(497) : error 001: expected token: ")", but found "{"
Code:
Код:
if(GetPVarInt(playerid"[lytis]==1) <---- Line 497
	        {
		        SetPlayerSkin(playerid,142);
		        playerDB[playerid][uniforma]=142;
		        playerDB[playerid][uniformd]=true;
		        ApplyAnimation(playerid,"PLAYIDLES","stretch",4.1,0,0,0,0,0);
        	}
			else
			{
	        	SetPlayerSkin(playerid,151);
		        playerDB[playerid][uniforma]=151;
		        playerDB[playerid][uniformd]=true;
		        ApplyAnimation(playerid,"PLAYIDLES","stretch",4.1,0,0,0,0,0);
	        }
Reply
#2

Код:
if(GetPVarInt(playerid"[lytis]==1))<---- Line 497
	        {
		        SetPlayerSkin(playerid,142);
		        playerDB[playerid][uniforma]=142;
		        playerDB[playerid][uniformd]=true;
		        ApplyAnimation(playerid,"PLAYIDLES","stretch",4.1,0,0,0,0,0);
        	}
			else
			{
	        	SetPlayerSkin(playerid,151);
		        playerDB[playerid][uniforma]=151;
		        playerDB[playerid][uniformd]=true;
		        ApplyAnimation(playerid,"PLAYIDLES","stretch",4.1,0,0,0,0,0);
	        }
Copy and paste this.
Reply
#3

Try this

pawn Код:
if(GetPVarInt(playerid"[lytis]==1))<---- Line 497
            {
                SetPlayerSkin(playerid,142);
                playerDB[playerid][uniforma]=142;
                playerDB[playerid][uniformd]=true;
                ApplyAnimation(playerid,"
PLAYIDLES","stretch",4.1,0,0,0,0,0);
            }
            else
            {
                SetPlayerSkin(playerid,151);
                playerDB[playerid][uniforma]=151;
                playerDB[playerid][uniformd]=true;
                ApplyAnimation(playerid,"
PLAYIDLES","stretch",4.1,0,0,0,0,0);
            }
Reply
#4

Quote:

C:\Documents and Settings\Simas\Desktop\Romas(Netrink)\Romas\startG M by Leo G v0.0.1\gamemodes\startGM.pwn(497) : error 037: invalid string (possibly non-terminated string)
C:\Documents and Settings\Simas\Desktop\Romas(Netrink)\Romas\startG M by Leo G v0.0.1\gamemodes\startGM.pwn(497) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Simas\Desktop\Romas(Netrink)\Romas\startG M by Leo G v0.0.1\gamemodes\startGM.pwn(497) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Simas\Desktop\Romas(Netrink)\Romas\startG M by Leo G v0.0.1\gamemodes\startGM.pwn(497) : fatal error 107: too many error messages on one line

This warnng
Reply
#5

Congratulations, you two have achieved nothing.

pawn Код:
playerDB[playerid][uniforma] = (GetPVarInt(playerid, "[lytis]")) ? (142) : (151);
                SetPlayerSkin(playerid, playerDB[playerid][uniforma]);
                playerDB[playerid][uniformd] = true;
                ApplyAnimation(playerid, "PLAYIDLES", "stretch", 4.1, 0, 0, 0, 0, 0);
This will replace the whole thing.
Reply
#6

DELETED
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)