Wtf is wrong in this little script
#1

Ive gotten one error in this:

pawn Код:
if(GetPlayerScore(playerid) <100
    {
    SetPlayerArmour(playerid,100);
    GivePlayerWeapon(playerid,WEAPON_SNIPER,500);
    }
    return 1;
}
pawn Код:
LINE 243 = {
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
Reply
#2

if(GetPlayerScore(playerid) <100)
{
SetPlayerArmour(playerid,100);
GivePlayerWeapon(playerid,WEAPON_SNIPER,500);
}
return 1;
}
Reply
#3

pawn Код:
if(GetPlayerScore(playerid) < 100)
{
    SetPlayerArmour(playerid, 100);
    GivePlayerWeapon(playerid, WEAPON_SNIPER, 500);
}
Reply
#4

Ok all is perfect ty
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)