DarkLink Posted August 2, 2011 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. Borderpatrol Project Gamemode - Under Development (80%)
JR10 Posted August 2, 2011 Posted August 2, 2011 You can only destroy peds created by createPed. Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
DarkLink Posted August 2, 2011 Author 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. Borderpatrol Project Gamemode - Under Development (80%)
JR10 Posted August 2, 2011 Posted August 2, 2011 I don't think there is, but you can do it using those functions: killPed fadeCamera setCameraMatrix setCameraTarget setElementAlpha Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
DarkLink Posted August 2, 2011 Author 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! Borderpatrol Project Gamemode - Under Development (80%)
JR10 Posted August 3, 2011 Posted August 3, 2011 No problem. Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
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