Some errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Some errors (
/showthread.php?tid=255347)
Some errors -
Gagi_Corleone - 15.05.2011
Код:
for(new i = 1; i < sizeof(Vozila[MAX_XD_VOZILA]); i++ )
{
if(Vozila[i][mX] == 0 && Vozila[i][mY] == 0 && Vozila[i][mZ] == 0 && Vozila[i][mKoristen] == 0)
{
// vozilo RESET KLJUCA
PlayerInfo[playerid][pPcarkey] = GetMyCar (playerid);
PlayerInfo[playerid][pPcarkey2] = GetMyCar2(playerid);
PlayerInfo[playerid][pPcarkey3] = GetMyCar3(playerid); //auto 2
I have some errors on tih line PlayerInfo[playerid][pPcarkey] = GetMyCar (playerid);
and there is errors:
Код:
C:\Users\Milan\Desktop\SRV\gamemodes\FactionGame.pwn(2273) : error 012: invalid function call, not a valid address
C:\Users\Milan\Desktop\SRV\gamemodes\FactionGame.pwn(2273) : warning 215: expression has no effect
C:\Users\Milan\Desktop\SRV\gamemodes\FactionGame.pwn(2273) : error 001: expected token: ";", but found ")"
C:\Users\Milan\Desktop\SRV\gamemodes\FactionGame.pwn(2273) : error 029: invalid expression, assumed zero
C:\Users\Milan\Desktop\SRV\gamemodes\FactionGame.pwn(2273) : fatal error 107: too many error messages on one line
Re: Some errors -
Biesmen - 15.05.2011
Remove the space.
pawn Код:
PlayerInfo[playerid][pPcarkey] = GetMyCar(playerid);
Re: Some errors -
Gagi_Corleone - 15.05.2011
Didn't work i don't why.