Gang zone Script help
#5

Quote:
Originally Posted by ******
Посмотреть сообщение
It looks like you are using local variables, but you didn't say what the errors are so I can't be sure. If that's the case, then the issue is that "OnPlayerConnect" can't see the "GZ_ZONE_1" variable and others, because they are contained within a different function.
Quote:
Originally Posted by KaiserOfGermany
Посмотреть сообщение
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(2) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(4) : error 017: undefined symbol "GangZoneShowForPlayer"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(5) : error 017: undefined symbol "GangZoneShowForPlayer"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(6) : error 017: undefined symbol "GangZoneShowForPlayer"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(7) : error 017: undefined symbol "GangZoneShowForPlayer"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn( : error 017: undefined symbol "GangZoneShowForPlayer"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(9) : error 017: undefined symbol "GangZoneShowForPlayer"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(10) : error 017: undefined symbol "GangZoneShowForPlayer"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(11) : error 017: undefined symbol "GangZoneShowForPlayer"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(17) : error 010: invalid function or declaration
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(20) : error 010: invalid function or declaration
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(23) : error 010: invalid function or declaration
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(26) : error 010: invalid function or declaration
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(29) : error 010: invalid function or declaration
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(32) : error 010: invalid function or declaration
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(35) : error 010: invalid function or declaration
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(3 : error 010: invalid function or declaration
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(40) : warning 203: symbol is never used: "GZ_ZONE1"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(40) : warning 203: symbol is never used: "GZ_ZONE2"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(40) : warning 203: symbol is never used: "GZ_ZONE3"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(40) : warning 203: symbol is never used: "GZ_ZONE4"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(40) : warning 203: symbol is never used: "GZ_ZONE5"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(40) : warning 203: symbol is never used: "GZ_ZONE6"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(40) : warning 203: symbol is never used: "GZ_ZONE7"
C:\Users\User\Desktop\SAMP V10 ONLINE CDO v15.0\filterscripts\gangzones.pwn(40) : warning 203: symbol is never used: "GZ_ZONE8"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


16 Errors.
Quote:
Originally Posted by ******
Посмотреть сообщение
Right, you haven't included a_samp.
As ****** said you haven't included a_samp so how to include do like this:
At the top of script
pawn Код:
#include <a_samp>
Reply


Messages In This Thread
Gang zone Script help - by KaiserOfGermany - 07.07.2014, 09:51
Re: Gang zone Script help - by KayJ - 07.07.2014, 11:26
Re: Gang zone Script help - by KaiserOfGermany - 07.07.2014, 11:35
Re: Gang zone Script help - by SHE790 - 07.07.2014, 11:45
Re: Gang zone Script help - by KayJ - 07.07.2014, 11:45
Re: Gang zone Script help - by KaiserOfGermany - 07.07.2014, 12:07
Deleted - by SHE790 - 07.07.2014, 12:12
Re: Gang zone Script help - by KaiserOfGermany - 07.07.2014, 12:25

Forum Jump:


Users browsing this thread: 1 Guest(s)