07.06.2010, 04:54
pawn Код:
public rumbler(playerid);
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && playerid != i && !IsPlayerNPC(i))
{
if (ProxDetectorS(30.0, playerid, i))
{
SetPlayerDrunkLevel(i, 3000);
return 1;
}
else
{
SetPlayerDrunkLevel(i, 0);
return 1;
}
}
}
}
Код:
C:\Users\V\Desktop\RoLePlAy\gamemodes\skrp.pwn(46037) : warning 218: old style prototypes used with optional semicolumns C:\Users\Va\Desktop\RoLePlAy\gamemodes\skrp.pwn(46038) : error 055: start of function body without function header C:\Users\Vaa\Desktop\RoLePlAy\gamemodes\skrp.pwn(46039) : error 010: invalid function or declaration C:\Users\\Desktop\RoLePlAy\gamemodes\skrp.pwn(46041) : error 010: invalid function or declaration C:\Users\\Desktop\RoLePlAy\gamemodes\skrp.pwn(46043) : error 010: invalid function or declaration C:\Users\\Desktop\RoLePlAy\gamemodes\skrp.pwn(46046) : error 010: invalid function or declaration C:\Users\Va\Desktop\RoLePlAy\gamemodes\skrp.pwn(46048) : error 010: invalid function or declaration C:\Users\Va\Desktop\RoLePlAy\gamemodes\skrp.pwn(46051) : error 010: invalid function or declaration