SA-MP Forums Archive
Some Warning but i don't how to fix... Help - 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)
+--- Thread: Some Warning but i don't how to fix... Help (/showthread.php?tid=577132)



Some Warning but i don't how to fix... Help - KamalBa - 09.06.2015





Re: Some Warning but i don't how to fix... Help - Konstantinos - 09.06.2015

It needs x, y, z and you have added an extra argument (rotation). For class selections, same positions (with camera) won't work. You can use a class selection creator to do that: https://sampforum.blast.hk/showthread.php?tid=140360


Re: Some Warning but i don't how to fix... Help - JaydenJason - 09.06.2015

You can't use 4 parameters at all those functions

By looking at that, you used /rs and included the angles as well.

Remove the 4th parameter from all 3 functions there and it'll be fixed


Re: Some Warning but i don't how to fix... Help - KamalBa - 09.06.2015

What now ? I just changed it ok ?
After i changed it when i click on Spawn the player does not spawned and when i change the skin skin dose not changed....





Try your self my Server IP is :79.180.217.170:7777


Re: Some Warning but i don't how to fix... Help - Konstantinos - 09.06.2015

The above code is only for the class selections. You have to add classes to see more skins there and I don't get the "player does not spawn" part - if you haven't return 0 in OnPlayerRequestSpawn, it will spawn the player without any problems.


Re: Some Warning but i don't how to fix... Help - KamalBa - 09.06.2015

Done
I was have no return 0 or 1 so I added it and it's work good now thanks...