ERRORI:
C:\Documents and Settings\Ivica\Desktop\Ivica\samp\gamemodes\CroExtreame~RPG.pwn(30562) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ivica\Desktop\Ivica\samp\gamemodes\CroExtreame~RPG.pwn(30562) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Ivica\Desktop\Ivica\samp\gamemodes\CroExtreame~RPG.pwn(30562) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Ivica\Desktop\Ivica\samp\gamemodes\CroExtreame~RPG.pwn(30562) : 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.
LINIJA:
[code][b]forward vamapdclose();[/b]OVO je error
public vamapdclose()
{
MoveObject(vamapd, 1542.350098, -1627.757568, 15.156204, 3.0);
return 1;[/code]
public vamapdclose(playerid)
{
MoveObject(vamapd, 1542.350098, -1627.757568, 15.156204, 3.0);
return 1;
}
jel imas timer ispod necega...Jer za novo zvanje moras imati timer
Citat: [EFS]ExtremePower poslato Mart 31, 2010, 17:42:25 POSLE PODNE
public vamapdclose(playerid)
{
MoveObject(vamapd, 1542.350098, -1627.757568, 15.156204, 3.0);
return 1;
}
jel imas timer ispod necega...Jer za novo zvanje moras imati timer
IMAM EVO
SetTimer("gatepdclose",3500, false);
Citat: ivicaosk poslato Mart 31, 2010, 18:38:58 POSLE PODNE
Citat: [EFS]ExtremePower poslato Mart 31, 2010, 17:42:25 POSLE PODNE
public vamapdclose(playerid)
{
MoveObject(vamapd, 1542.350098, -1627.757568, 15.156204, 3.0);
return 1;
}
jel imas timer ispod necega...Jer za novo zvanje moras imati timer
IMAM EVO
SetTimer("gatepdclose",3500, false);
Pa ime timera i zvanje na koje se timer odaziva mora biti istog imena znaci umjesto
public vamapdclose(playerid)
{
MoveObject(vamapd, 1542.350098, -1627.757568, 15.156204, 3.0);
return 1;
}
Moras staviti ovo
public gatepdclose(playerid)
{
MoveObject(vamapd, 1542.350098, -1627.757568, 15.156204, 3.0);
return 1;
}
I nije mi jasno zasto ti je na timeru
SetTimer("gatepdclose",3500, false);
stavljeno na "false" to znaci da ti se timer nece ponavljati znaci da ce ti se samo jednom vrata otvoriti i to je to....Jedino ako to nisi namjerno stavio ali moj savjet ti je da stavis
SetTimer("gatepdclose",3500, true);