AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Some errors (https://forums.alliedmods.net/showthread.php?t=157024)

Gagi_Corleone 05-15-2011 06:05

Some errors
 
Code:

                                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:
Code:

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


Nyuszy 05-15-2011 07:14

Re: Some errors
 
show your GetMyCar3 function


All times are GMT -4. The time now is 04:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.