[REQ] Warp to all players in map [LOOP]

Status
Not open for further replies.

x7F8

Member
Joined
Jul 31, 2014
Messages
21
Reaction score
1
change 0 to 50 according how many player ids you like to tp to
50 = end ID | 0 = starting ID
Code:
{$CLEO}

0000:

:tpALL
wait 0
if
0ADC: "all"
then
    print "Teleporting...." 500000
    for 0@ = 0 to 50 step 1
        if 
        SAMP.IsPlayerConnected(0@)
        then
            0B20: samp 1@ = actor_handle_by_samp_player_id 0@
            if
            056D: actor 1@ defined
            then
                Actor.StorePos(1@, 20@, 21@, 22@)
                Actor.PutAt($PLAYER_ACTOR, 20@, 21@, 22@)
            else
                SAMP.GetStreamedOutPlayerPos(0@, 20@, 21@, 22@)
                Actor.PutAt($PLAYER_ACTOR, 20@, 21@, 22@)
            end
            wait 1500
        end
    end
    print "Teleporting finished." 5000
end
jump @tpALL

+ BulletCrasher 0.3z, I already trolled 3 servers.
 
Status
Not open for further replies.
Top