I have a Doubt [Script]

Dynasty

New member
Messages
4
Points
0
hello guys 
biggrin.png


i have 2 questions...

how I can make a npc teleport a player at a certain point and this can not move until they pass a certain time?

How i can make a script when a player dies, this throw everything you have in the inventory?

that all... plz answer me

 
 
1 =

warp "yourmap",x,y;

sc_start 65,60000,0; // <--- Unable to move for 1 minute

end;

2 =

getmapxy;

getinventorylist;

parse through all the items {

rand(5); //to spread the items.

makeitem;

}

clearitem;

end;

 
Almost forget, use 'OnPCDieEvent' label combined with if (strcharinfo(3)=="yourmap") if you want.

 
Back
Top