jehadmalek Posted July 13, 2016 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 27 Reputation: 0 Joined: 07/28/13 Last Seen: July 22, 2016 Share Posted July 13, 2016 Hi , i made this script as only gm will be able to use it but when i tried it even players can .. prontera,152,260,5 script Starter 733,{ if( getgmlevel() >= 99gms_level){ if ($@race != 0) goto L_Started; if ($@counting != 0) goto L_Started; if ($@racecount == 1) goto L_Started; } else { end; } L_Menu: mes "[Race Starter]"; mes "Please stay on the Eastern side of me."; menu "Start Race",L_Count,"Cancel",-; close; L_Count: set $@counting,1; mes "Counting down..."; addtimer 1000, "Starter::OnCount1000"; addtimer 2000, "Starter::OnCount2000"; addtimer 3000, "Starter::OnCount3000"; addtimer 4000, "Starter::OnCount4000"; announce strcharinfo(0) + "Started a countdown",1; announce "Get ready to race!",1; close; OnCount1000: announce "[3]",1; end; OnCount2000: announce "[2]",1; end; OnCount3000: announce "[1]",1; end; OnCount4000: emotion e_go; specialeffect EF_CHIMTO; announce "[GO!]",1; set $@race,1; set $@position,0; set $@counting,0; set $@raceid,rand(100000,999999); end; L_Started: if ((getmapusers("pvp_y_1-5") < 3) && ($@position > 0)) goto L_Menu; if ($@position > 2) goto L_Menu; mes "[Starter]"; mes "Race in progress"; close; OnInit: set $@race,0; set $@position,0; set $@racecount,0; end; } plz help me and thx Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted July 13, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 14 hours ago Share Posted July 13, 2016 if( getgmlevel() >= 99gms_level){ change to if( getgmlevel() >= 99){ Quote Link to comment Share on other sites More sharing options...
0 jehadmalek Posted July 13, 2016 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 27 Reputation: 0 Joined: 07/28/13 Last Seen: July 22, 2016 Author Share Posted July 13, 2016 if( getgmlevel() >= 99gms_level){ change to if( getgmlevel() >= 99){ Thaanks Now can u till me how to make "on touche player mes close" Quote Link to comment Share on other sites More sharing options...
Question
jehadmalek
Hi ,
i made this script as only gm will be able to use it but when i tried it even players can ..
plz help me and thx
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.