Wtf is wrong in this little script - 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: Wtf is wrong in this little script (
/showthread.php?tid=160990)
Wtf is wrong in this little script -
[NTX]MikeQ - 18.07.2010
Ive gotten one error in this:
pawn Код:
if(GetPlayerScore(playerid) <100
{
SetPlayerArmour(playerid,100);
GivePlayerWeapon(playerid,WEAPON_SNIPER,500);
}
return 1;
}
The error is:
pawn Код:
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\BreakIn.pwn(243) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\BreakIn.pwn(382) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\BreakIn.pwn(383) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\BreakIn.pwn(495) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
I mean how can here be an error
Re: Wtf is wrong in this little script -
BloodyEric - 18.07.2010
if(GetPlayerScore(playerid) <100)
{
SetPlayerArmour(playerid,100);
GivePlayerWeapon(playerid,WEAPON_SNIPER,500);
}
return 1;
}
Re: Wtf is wrong in this little script -
[NWA]Hannes - 18.07.2010
pawn Код:
if(GetPlayerScore(playerid) < 100)
{
SetPlayerArmour(playerid, 100);
GivePlayerWeapon(playerid, WEAPON_SNIPER, 500);
}
Re: Wtf is wrong in this little script -
[NTX]MikeQ - 18.07.2010
Ok all is perfect ty