Good And Bad News
#1

Guys what is wrong with this ?

http://pastebin.com/d1a2a698a

in this gamemode i just try to make teams and good news is that i learn that I KNOW HOW TO MAKE TEAMS!!!!! YES and ty to this forum , ppl who help me and to ''cng'' game mode

and bad news is that when i try to compile this ''Gamemode'' i get 26 errors ... lol


C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(149) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(149) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(149) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(156) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(156) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(156) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(156) : error 001: expected token: ";", but found "if"
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(163) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(163) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(163) : error 004: function "OnPlayerRequestClass" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(175) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(180) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(180) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(180) : error 004: function "OnPlayerDisconnect" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(185) : warning 225: unreachable code
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(185) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(185) : error 004: function "OnPlayerSpawn" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(187) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(191) : warning 225: unreachable code
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(191) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(191) : error 004: function "OnPlayerDeath" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(196) : warning 225: unreachable code
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(196) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(196) : error 004: function "OnVehicleSpawn" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(201) : warning 225: unreachable code
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(201) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(201) : error 004: function "OnVehicleDeath" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(206) : warning 225: unreachable code
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(206) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(206) : error 004: function "OnPlayerText" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(211) : warning 225: unreachable code
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(211) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(211) : error 004: function "OnPlayerPrivmsg" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(216) : warning 225: unreachable code
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(216) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(216) : error 004: function "OnPlayerCommandText" is not implemented
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(21 : error 017: undefined symbol "cmdtext"
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(226) : warning 225: unreachable code
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(226) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Ekipe.pwn(226) : error 004: function "OnPlayerInfoChange" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.


Hmmmm... no comment on that

Please try to help me as allways

Kljukec

Reply
#2

nobody wont help ?
Reply
#3

I think you forgot a } at a place
Reply
#4

hmmm but where ?
Reply
#5

Most likely the line right before the first error.
Reply
#6

Check your brackets at SetPlayerToTeamColor function and OnPlayerRequestClass callback because i see some mistakes there.
Reply
#7

i fix most of errors as he said i forget ''{'' or ''}'' ...

http://pastebin.com/d1f553313

check now but now are some errors

C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\Ek ipe.pwn(149) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\Ek ipe.pwn(149) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\Ek ipe.pwn(149) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\Ek ipe.pwn(163) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\Ek ipe.pwn(163) : error 004: function "OnPlayerRequestClass" is not implemented
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\Ek ipe.pwn(177) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\Ek ipe.pwn(189) : error 004: function "SetPlayerToTeamColor" is not implemented
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

idk what is wrong can u tell me how i can FIX this errors ... ty

Kljukec
Reply
#8

You forgot another bracket ( } ) after line 143.
Reply
#9

And at OnPlayerRequestClass you have one } which isn't needed.
Reply
#10

Thank you guys it works

and i have another question now when i go in my gamemod ... i mean when i go in game with my game mode why i have in class selection just CJ skin...and i CANT spawn and nothing ... -.-

now my game mode looks ---> http://pastebin.com/d4a53a6fa

i hope this is my last question
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)