Mefisto_PL Posted August 2, 2013 Posted August 2, 2013 (edited) RESOLVED Edited August 2, 2013 by Guest
Mefisto_PL Posted August 2, 2013 Author Posted August 2, 2013 (edited) RESOLVED Edited August 2, 2013 by Guest
Moderators IIYAMA Posted August 2, 2013 Moderators Posted August 2, 2013 This is at least one mistake. for blipIndex, blipValue in pairs ( blipy ) do if blipValue == blip then destroyElement ( blip ) break end end
Mefisto_PL Posted August 2, 2013 Author Posted August 2, 2013 (edited) RESOLVED Edited August 2, 2013 by Guest
Castillo Posted August 2, 2013 Posted August 2, 2013 You can create a table containing all blips for each player, then destroy it.
Mefisto_PL Posted August 2, 2013 Author Posted August 2, 2013 In this, I can't because I want to create it only visible for one team. It's created when player type another command and I want to remove that blip when player type this command.
iMr.3a[Z]eF Posted August 2, 2013 Posted August 2, 2013 You mean only who is in the team allow to write this command?
Moderators IIYAMA Posted August 2, 2013 Moderators Posted August 2, 2013 You can do it as solidsnake said, But I will recommend you to create it at client side cause: - Reduce amount of elements at serverside.- His own created blips don't have to be deleted.- And especial easier to manage.
Moderators IIYAMA Posted August 2, 2013 Moderators Posted August 2, 2013 You can't help me that way? Learn lua ftw! Especially tables, that is the one thing you need to make clean fast systems.
Mefisto_PL Posted August 2, 2013 Author Posted August 2, 2013 Yea, I know, but I want to create it this way.. -,-
Moderators IIYAMA Posted August 2, 2013 Moderators Posted August 2, 2013 If you want that, you have to give every player a blip and use this function to manage and reduce the amount of elements: https://wiki.multitheftauto.com/wiki/Se ... tVisibleTo
Mefisto_PL Posted August 2, 2013 Author Posted August 2, 2013 Thanks, I will try it btw if u can, look this topic: viewtopic.php?f=91&t=63033
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