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 "{"
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); }
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); }
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);
}
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 |
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);