GriLLeX Posted August 31, 2009 Share Posted August 31, 2009 Hello, I want to know how can I create a variable only for a player just like this: PlayerFaction [thePlayer] = 1 Edit: How do I remove a ped after you create it? Link to comment
Slothman Posted August 31, 2009 Share Posted August 31, 2009 theres lots of ways to assign a variable or aruement to a player, depending on what your doing. if this is something you meed to keep checking later on, you could use setElementData. if i go by your example, and your trying to assign a team to a player, then thats already supported with various team functions. as for deleting a ped (or almost anything) you use destroyElement Link to comment
robhol Posted September 1, 2009 Share Posted September 1, 2009 Didn't you read the link I gave you earlier? http://robhol.net/guide/basics/ Link to comment
GriLLeX Posted September 1, 2009 Author Share Posted September 1, 2009 Thanks, it works: D One other thing I'm creating a login script, only that I want to know how I can verify that a particular file exists ... I would also know how I can verify that a player is on a point specified by me .. Yes, I read your guide robhol, is interesting and simple Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now