Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Brick Hill Scripts
- // /spy <user> - Makes their camera follow that player
- s=define("serverCmdSpy");s.script="p=findClientByName(arg[0]);if instance_exists(p) {other.camObj=p;centerPrint(p,'Someone is watching you...',4);}";
- // /pm <user> <message> - Messages a user
- new_command("pm",'to=findClientByName(arg[0]);if(instance_exists(to)){messageClient(to,"\c8PM \c0from \c8"+other.name+"\c7: "+arg[1]+" "+arg[2]+" "+arg[3]+" "+arg[4]+" "+arg[5]+" "+arg[6]+" "+arg[7]+" "+arg[8]+" "+arg[9]);}');
- // /tp - Teleports user to their mouse location
- new_command("tp",'playerTranslate(other.id,other.LookingAtXPos,other.LookingAtYPos,other.LookingAtZPos);');
- // /stalk <user> - Makes their camera follow that player
- new_command("stalk",'follow=findClientByName(arg[0]);if(instance_exists(follow)) {other.camType="orbit";other.camObj=follow.net_id;}');
- // Basic countdown loop
- time = 60;
- script = '
- centerPrintAll("You have "+string(time)+" seconds left!",1);
- time -= 1;
- if time <= 0 {
- with obj_client {
- playerRespawn(id);
- }
- time = 60;
- messageAll("A new round has started!");
- messageAll("You have one minute to run around on the baseplate.");
- }
- schedule(1000,script);
- ';
- execute_string(script);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement