Weather System and Vehicle Object
#3

Found these:

IsPlayerInArea tutorial by Pghpunkid

Code by Carlton
Код:
stock IsPlayerInLosSantos(playerid) {
  if(IsPlayerInArea(playerid, 2919.469, 93.423, -782.4177, -2837.724)) {
    return 1;
  }
  return 0;
}

stock IsPlayerInSanFierro(playerid) {
  if(IsPlayerInArea(playerid, -1074.365, -2931.147, 1448.057, -1237.855)) {
    return 1;
  }
  return 0;
}

stock IsPlayerInLasVenturas(playerid) {
  if(IsPlayerInArea(playerid, 2954.502, 782.4177, 2931.147, 595.5717)) {
    return 1;
  }
  return 0;
}
Here is a very nice open-source random weather code created by Southclaw

Guide yourself with that, but please give credits accordingly.
Reply


Messages In This Thread
Weather System and Vehicle Object - by iTzMatheus - 02.04.2017, 21:27
Re: Weather System and Vehicle Object - by Toroi - 02.04.2017, 21:35
Re: Weather System and Vehicle Object - by Marricio - 03.04.2017, 00:25
Re: Weather System and Vehicle Object - by iTzMatheus - 03.04.2017, 19:09

Forum Jump:


Users browsing this thread: 1 Guest(s)