Need a little help with making Teams - 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: Need a little help with making Teams (
/showthread.php?tid=64373)
Need a little help with making Teams -
Mr. M - 03.02.2009
I'm having some problems with making Teams, for my server...
I've read
https://sampwiki.blast.hk/wiki/PAWN_tutorial and
http://weedarr.wikidot.com/teams
but i don't know what's wrong about mine tough.( incorrect identations i guess... )
Here's what i have
http://pastebin.com/m7397d1ef
And i get these errors when compiling;
Код:
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(66) : error 017: undefined symbol "SetPlayerToTeamColor"
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(90) : warning 217: loose indentation
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(90) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(90 -- 91) : warning 215: expression has no effect
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(91) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(96) : warning 217: loose indentation
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(96) : error 017: undefined symbol "SetPlayerTeamFromClass"
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(98) : error 017: undefined symbol "classid"
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(102) : error 017: undefined symbol "classid"
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(106) : error 017: undefined symbol "classid"
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(110) : error 017: undefined symbol "classid"
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(114) : error 017: undefined symbol "classid"
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(122) : error 017: undefined symbol "SetPlayerToTeamColour"
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(141 -- 142) : error 001: expected token: ")", but found ";"
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(143) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mitch\Desktop\SERVER\filterscripts\TEAMS.pwn(148) : error 030: compound statement not closed at the end of file (started at line 65)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
13 Errors.
Re: Need a little help with making Teams -
Auto-Sized - 03.02.2009
I did a quick edit of code and left out gang zones from code posted as you need to finish the code first. You have no player classes yet.
http://pastebin.com/m7a30006b
Re: Need a little help with making Teams -
Mr. M - 03.02.2009
Thanks for the help, really appreciate it!
It works now
Sorry for my folishness
Re: Need a little help with making Teams -
Auto-Sized - 03.02.2009
Don't be sorry we all make mistakes.