Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp("/gateo", cmdtext, true) == 0)
- {
- if(IsPlayerAdmin(playerid)==1)
- {
- MoveObject(basegate, 2300.526367, 605.177551, 12.659502, 2.00);
- SendClientMessage(playerid, COLOR_YELLOW,"Welcome to the Las Venturas Admin Base");
- SetTimer("Resetbase",7000,0); //you can change the time, it closes after 7 seconds now.
- return 1;
- }
- }
- if(strcmp("/topo", cmdtext, true) ==0)
- {
- if(IsPlayerAdmin(playerid)==1)
- {
- MoveObject(topgate1, 2313.8000488281, 555.75598779297, 14.899999961853, 3.0);
- MoveObject(topgate2, 2314.1000976563, 498.20001220703, 14.899999961853, 3.0);
- SendClientMessage(playerid, COLOR_YELLOW,"The Top Gate Has Been Opened Type /topc To Close It");
- SetTimer("resetbase",7000,0);
- return 1;
- }
- }
- if(strcmp("/topc", cmdtext, true) ==0)
- {
- if(IsPlayerAdmin(playerid)==1)
- {
- MoveObject(topgate1, 2314, 536, 14.89999961853, 3.0);
- MoveObject(topgate2, 2314, 516.20001220703, 14.89999961853, 3.0);
- SendClientMessage(playerid, COLOR_YELLOW,"The Top Gate Has Been Closed Type /topo To Open It Again");
- SetTimer("resetbase",7000,0);
- return 1;
- }
- }
- return 0;
- }
- other thin ill put them in the middle of the cmds so u gotta delete the return 0; and fix the } xD :D and thnx :v
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement