Exemple #1
0
 public static long?UID(this GTANetworkAPI.Entity entity)
 {
     if (entity.HasSharedData("UID"))
     {
         return(entity.GetSharedData("UID"));
     }
     return(null);
 }
Exemple #2
0
 public static object GetValue(this GTANetworkAPI.Entity entity, string strKey)
 {
     if (entity.HasSharedData(strKey))
     {
         return(entity.GetSharedData(strKey));
     }
     return(null);
 }