Posts: 266
Threads: 52
Joined: Aug 2013
Reputation:
0
Hello I made Command to Spectate Player in Event. But What that code of pawno that If the Player isn't in Virtual World And I try to spec him then He should say to me like that:
"This Player isn't in Event"
And Also I want to make that Command like /virtuallist to see the List of those Players who are in Event.
Apologize for Bad English !
Thanks for Help in Advance.
Posts: 266
Threads: 52
Joined: Aug 2013
Reputation:
0
LOL, I mean that If Player in Real World and I am in Virtual World so I can't spec that Player Who isn't in Virtual World. I made a Command that is telling me "You can't use Admins Commands in Real World". I made new Command for Event makers like /espec. But my Question is, I can spec those Players who are in Real World by using /espec Command which is Event Command, not Real World Command. I want that I can't spec those who are in Real World.
Posts: 266
Threads: 52
Joined: Aug 2013
Reputation:
0
Thank you !
I have one more Question, How to Destroy All Vehicles with one Command?
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
I've to admit that I totally forgot about MAX_VEHICLES+1 and it indeed works; however, your second method will not work since it goes v -1 (v = 1) so it's 0. 0 is not a valid vehicleid.
Posts: 131
Threads: 23
Joined: Dec 2011
Reputation:
0
no, you dont understand me,
Say an array is MAX_VEHICLES indexes 0 to 1999
Vehicle ids are 1 to 2000, so if you access the array with "vehicleid -1" you get 0 to 1999