Guten Tag,
Ich versuche für /carlock das die Lichter blinken was mach ich falsch das ich 4 Errors bekomme?
C:\Windows\Vss\First Person\German-Black-Reallife\German-Black-Reallife\gamemodes\German-Black-Reallife.pwn(11909) : error 012: invalid function call, not a valid address
C:\Windows\Vss\First Person\German-Black-Reallife\German-Black-Reallife\gamemodes\German-Black-Reallife.pwn(11909) : error 017: undefined symbol "vid"
C:\Windows\Vss\First Person\German-Black-Reallife\German-Black-Reallife\gamemodes\German-Black-Reallife.pwn(11909) : error 029: invalid expression, assumed zero
C:\Windows\Vss\First Person\German-Black-Reallife\German-Black-Reallife\gamemodes\German-Black-Reallife.pwn(11909) : fatal error 107: too many error messages on one line
lightEffect(vid) //Hier sind die errors
{
new xx[7];
GetVehicleParamsEx(vid,xx[0],xx[1],xx[2],xx[3],xx[4],xx[5],xx[6]);
new andas=((xx[1]==-1||xx[1]==0)?(1):(0));
SetTimerEx("lightEffectEx",100,false,"dd",vid,andas);
SetTimerEx("lightEffectEx",600,false,"dd",vid,xx[1]);
SetTimerEx("lightEffectEx",1100,false,"dd",vid,andas);
SetTimerEx("lightEffectEx",1600,false,"dd",vid,xx[1]);
}
forward lightEffectEx(vid,stt);
public lightEffectEx(vid,stt)
{
new xx[7];
GetVehicleParamsEx(vid,xx[0],xx[1],xx[2],xx[3],xx[4],xx[5],xx[6]);
SetVehicleParamsEx(vid,xx[0],stt,xx[2],xx[3],xx[4],xx[5],xx[6]);
}