Wysłany: 2012-05-28, 18:58
Aksel
Wiek: 28 Na forum: 5220 dni Posty: 79
Nick w MP: Aksel
Piwa : 1756
Witam robie sobie eventy i przy naciskaniu f5 mam:
Kod: C:\Users\Patryk\Desktop\ZabawyVIVA.pwn(677) : error 012: invalid function call, not a valid address
C:\Users\Patryk\Desktop\ZabawyVIVA.pwn(677) : warning 215: expression has no effect
C:\Users\Patryk\Desktop\ZabawyVIVA.pwn(677) : warning 215: expression has no effect
C:\Users\Patryk\Desktop\ZabawyVIVA.pwn(677) : warning 215: expression has no effect
C:\Users\Patryk\Desktop\ZabawyVIVA.pwn(677) : warning 215: expression has no effect
C:\Users\Patryk\Desktop\ZabawyVIVA.pwn(677) : error 001: expected token: ";", but found ")"
C:\Users\Patryk\Desktop\ZabawyVIVA.pwn(677) : error 029: invalid expression, assumed zero
C:\Users\Patryk\Desktop\ZabawyVIVA.pwn(677) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
A o to linijka 668-693:
Kod: forward StrzelnicaCheck();
public StrzelnicaCheck()
{
if(!StrzelnicaON) return 1;
for(new x=0;x<MAX_GRACZY;x++){
if(IsPlayerConnected(x) && Strzelnica[x]){
if(!StrzelnicaSniper[x] && !IsPlayerInArea(x,270.3151,293.5906,-144.3372,-126.0463)){
SetPlayerPosAndFree(x,285.2184,-134.4836,1004.0625);
}
if(GetPlayerWeapon(x) != 0 && !StrzelnicaSniper[x]){
Strzelnica[x] = false;
StrzelnicaSniper[x] = false;
StrzelnicaZaglosowal[x] = false;
SetPlayerRandomSpawn(x);
SendClientMessage(x,COLOR_RED2,"? W tym miejscu u?ywanie broni jest zakazane!");
}
if(Strzelnica[x]){
SetPlayerArmour(x,0);
}
}
}
return 1;
}
Oczywiscie dam
Wysłany: 2012-05-28, 19:11
MG303
Wiek: 30 Na forum: 6418 dni Posty: 654
Piwa : 2990
Tagi: expected :: token: :: quotquot :: but :: found :: quot)quot
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: