DarkLink Posted August 2, 2011 Share Posted August 2, 2011 Okay so I am using spawnplayer to really spawn the players, actually it makes a ped for each player and spawn him at x,y,z coordinates right? Okay now I want to delete all the peds associated to the players, you see? How can I do that? Wanna delete all the peds that were created using spawnplayer, did u understand guys? Thanks alot. Link to comment
JR10 Posted August 2, 2011 Share Posted August 2, 2011 You can only destroy peds created by createPed. Link to comment
DarkLink Posted August 2, 2011 Author Share Posted August 2, 2011 Yes, but look after I spawn a player I cant revert that situation? When you enter a server if spawnplayer its not called, you will just see black and there wont be any ped of him, even if camera is target to that player .. So what I want is to go back, revert what spawnplayer function did I think I explained better now It must be a way to do this. Thanks guys. Link to comment
JR10 Posted August 2, 2011 Share Posted August 2, 2011 I don't think there is, but you can do it using those functions: killPed fadeCamera setCameraMatrix setCameraTarget setElementAlpha Link to comment
DarkLink Posted August 2, 2011 Author Share Posted August 2, 2011 I don't think there is, but you can do it using those functions: killPed fadeCamera setCameraMatrix setCameraTarget setElementAlpha Ye thanks alot jacob, made it work with setCameraMatrix then killPed And fadeCamera too , makes better visual hehe Thanks! 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