Jump to content

GetClosestPlayer ( With Virtualworld and Distance detection )


Recommended Posts

Posted (edited)

Functie:

GetClosestPlayer( playerid, checkvw = false, Float:range = FLOAT_INFINITY )

 
Exemplu:

new targetid = GetClosestPlayer( playerid, .checkvw = true, .range = 2.0 ); // This will get the closest player in a range of 2.0 meters with the save virtual world

 
PasteBin: http://pastebin.com/1Gt0E8ss
 
Instructiuni: Pune acest fisier in folderul "include" din pawno.

#include a_samp and #include foreach

poti sa-l folosesti in script astfel:

#include GCP

 
Foreach Include: http://forum.sa-mp.com/showthread.php?t=92679

Edited by SoNNy.sys
  • Upvote 1

server.php

  • 2 years later...
Posted

Ai text in engleza = copy paste, sal.

Spoiler

nush, daca e facut de tn sau nu, dar mie imi place caterinca.

 

                        

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.