SA-MP Forums Archive
Good And Bad News - 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: Good And Bad News (/showthread.php?tid=83176)



Good And Bad News - Geekzor - 23.06.2009

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




Re: Good And Bad News - Geekzor - 23.06.2009

nobody wont help ?


Re: Good And Bad News - basker - 23.06.2009

I think you forgot a } at a place


Re: Good And Bad News - Geekzor - 23.06.2009

hmmm but where ?


Re: Good And Bad News - Grim_ - 23.06.2009

Most likely the line right before the first error.


Re: Good And Bad News - Correlli - 23.06.2009

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


Re: Good And Bad News - Geekzor - 23.06.2009

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


Re: Good And Bad News - Grim_ - 23.06.2009

You forgot another bracket ( } ) after line 143.


Re: Good And Bad News - Correlli - 23.06.2009

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


Re: Good And Bad News - Geekzor - 23.06.2009

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