8 Errors in gm
#1

Hi when i compile my gm i get errors+warnings

C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1143) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1143) : error 029: invalid expression, assumed zero
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1143) : error 017: undefined symbol "OnPlayerRegister"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1145) : error 017: undefined symbol "playerid"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1149) : error 017: undefined symbol "playerid"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1154) : error 017: undefined symbol "PlayerInfo"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1154) : error 017: undefined symbol "playerid"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1154) : error 029: invalid expression, assumed zero
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1154) : fatal error 107: too many error messages on one line
Reply
#2

Sry for dbl But HElppp
Reply
#3

Show us the GM or just the lines
Reply
#4

problem is cause its in a timer or in gamemodeinit
Reply
#5

Line 1143 public OnPlayerRegister(playerid, password[])
Line 1145 if(IsPlayerConnected(playerid))
Line 1149 GetPlayerName(playerid, playername3, sizeof(playername3));
Line 1154 strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255);
Reply
#6

so..................?
Reply
#7

Is it under gamemodeint?
If yes,thats the reason.No playerid in brackets.
- Ecko
Reply
#8

Quote:
Originally Posted by .::: Ecko :::.
Посмотреть сообщение
Is it under gamemodeint?
If yes,thats the reason.No playerid in brackets.
- Ecko
Thanks fixed! but in one line 4 errors

C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1392) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1392) : error 029: invalid expression, assumed zero
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1392) : error 017: undefined symbol "OnPlayerRegister"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\stunt1.pwn(1392) : error 017: undefined symbol "playerid"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)