Map Voting But the PlayerClass dont work?
#5

Quote:
Originally Posted by SVRP
Посмотреть сообщение
Use it like this.
Keep the CopLS*** variables.
But instead of if(CopLS25 you need to get the player skin.
if(GetPlayerSkin(playerid) == CopLS25

That way you only have 1 position that fits the description, instead of all.
If they all match you get the last defined position.
If none of them match, you spawn at the location of the class.

If you have the same position defined in the classes you can leave all this extra code away.
Just place the coordinates in the classes, and spawn after picking one.
You will automatically spawn at the class position.
But if you use those positions for class selection or something, you need to use a different if.
Dude TYVM So much, i will test this when im home Thanks for Helping
Reply


Messages In This Thread
Map Voting But the PlayerClass dont work? - by NeverKnow - 13.10.2011, 21:01
Re: Map Voting But the PlayerClass dont work? - by SVRP - 13.10.2011, 21:43
Re: Map Voting But the PlayerClass dont work? - by NeverKnow - 13.10.2011, 21:50
Re: Map Voting But the PlayerClass dont work? - by SVRP - 13.10.2011, 23:34
Re: Map Voting But the PlayerClass dont work? - by NeverKnow - 14.10.2011, 05:51
Re: Map Voting But the PlayerClass dont work? - by NeverKnow - 14.10.2011, 12:23

Forum Jump:


Users browsing this thread: 2 Guest(s)