Custom callback error - 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: Custom callback error (
/showthread.php?tid=91161)
Custom callback error -
_Vortex - 13.08.2009
Hello,I decided to code my first custom call back (i think their called that? xD)
Basically what it does is when someone joins and their picking a team, it shows a diffrent area for each team.
But It's not showing correctly, its showing the wrong area for the wrong team..
Heres my code:
http://pastebin.com/m17fc01fe
Thanks
Re: Custom callback error -
RaFsTar - 13.08.2009
Instead of "else if" use "if".
Re: Custom callback error -
_Vortex - 13.08.2009
Quote:
Originally Posted by RaFsTar
Instead of "else if" use "if". 
|
Same problem.
Re: Custom callback error -
RaFsTar - 13.08.2009
Quote:
Originally Posted by Zer0[x
]
Quote:
Originally Posted by RaFsTar
Instead of "else if" use "if". 
|
Same problem.
|
The Teams defines are ok ? See if you made an error.
But you are using checkpoints ? If yes, that happens on my server, when they choose mechanic job and in the checkpoint, they get public driver (LOL). This only happends when i use "gmx", my solution is closing and reopen the server.
I think i am not talking about the same topic xD

am i ?
Re: Custom callback error -
_Vortex - 13.08.2009
Quote:
Originally Posted by RaFsTar
Quote:
Originally Posted by Zer0[x
]
Quote:
Originally Posted by RaFsTar
Instead of "else if" use "if". 
|
Same problem.
|
The Teams defines are ok ? See if you made an error.
But you are using checkpoints ? If yes, that happens on my server, when they choose mechanic job and in the checkpoint, they get public driver (LOL). This only happends when i use "gmx", my solution is closing and reopen the server.
I think i am not talking about the same topic xD  am i ?
|
Nope, thats not my problem.
Re: Custom callback error -
RaFsTar - 13.08.2009
Strange .. Have you seen if you did some mistake on the camera positions? You may switched them
Re: Custom callback error -
_Vortex - 13.08.2009
nope, they're all correct.