ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2049

Othersource

by Citssss - 09-09-2018 - 07:46 PM
#1
char* GetVehicleOnwerName(int player) 

    int val = DECOR_GET_INT(GET_VEHICLE_PED_IS_USING(GET_PLAYER_PED(player)), "Player_Vehicle"); 
    if(IS_PED_IN_ANY_VEHICLE(GET_PLAYER_PED(player), 0)) 
    { 
        for(int i = 0; i< 18; i++) 
        { 
        int iVar0 = INT_TO_PLAYERINDEX(i); 
          if(val == GET_HASH_KEY(GET_PLAYER_NAME(iVar0)) || val == NETWORK_HASH_FROM_PLAYER_HANDLE(iVar0)) 
          { 
           if(GET_HASH_KEY(GET_PLAYER_NAME(i)) == GET_HASH_KEY("**Invalid**")) return "None"; 
          else 
           return GET_PLAYER_NAME(i); 
          } 
        } 
    } 
    return ""; 
}
Reply
#2
What can this source be used for? Is it for using a vehicle?

Despite that, thank you for sharing!
Reply
#3
why you don't say all code in 1 post?
Reply
#4
I don't get what this is useful for
Reply
#5
what is this even useful for? i guess good release idk lol
Judge Judy Is Sexy Asf Can We All Agree?  Love
& Lets Stop The Cracking War M8s Devil )
(Make Modding Fun Again 100emoji   )
Reply
#6
lol guys read and you would know what it does it grabs the online players vehicle and tells you who owns it
Reply
#7
Cat-love Cat-love Cat-love is good

Alien Alien loooooooooool
Reply

Users browsing: 2 Guest(s)