Thread: warping players
View Single Post
  #9  
Old 06-11-2002, 11:54 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
NPC Code:

//Warping weapon
if (playerenters||timeout&&isweapon){
if (!strequals(#s(server.warp),)){
tokenize #s(server.warp);
if (strequals(#t(0),#a)){
setstring client.warp,#s(server.warp);
unset server.warp;
tokenize #s(client.warp);
setlevel2 #t(1),strtofloat(#t(2)),strtofloat(#t(3));
say2 warped;
}
}
timeout=.05;
}



im dumb lol
but like i said, i was at school hehe
Reply With Quote