Question
#1

Is there any function to check if is player on wather?
Reply
#2

Did you mean weather? If so, then no. But it can be scripted though.
Reply
#3

Quote:
Originally Posted by Carlton
Did you mean weather? If so, then no. But it can be scripted though.
Yes on weather, can you give me example how to do it
Reply
#4

Quote:
Originally Posted by DarkPower
Quote:
Originally Posted by Carlton
Did you mean weather? If so, then no. But it can be scripted though.
Yes on weather, can you give me example how to do it
Yes. I just made this code while replying to this so sorry for the long reply

pawn Код:
new pweather[MAX_PLAYERS];
 
stock SetPlayerWeatherEx(playerid, weatherid) {
  SetPlayerWeather(playerid, weatherid);
  pweather[playerid] = weatherid;
}

stock GetPlayerWeather(playerid) {
   return pweather[playerid];
}
A example usage is like this:

pawn Код:
public OnPlayerConnect(playerid) {
   new joinweather, stringsize[15];
   SetPlayerWeatherEx(playerid, -66);
   joinweather = GetPlayerWeather(playerid);
   format(stringsize, sizeof(stringsize), "Your weather is %d", joinweather);
   SendClientMessage(playerid, 0xFFFFFF, stringsize);
}
Reply
#5

f*** srry for my bad english i was think for WATHER srry
Reply
#6

Quote:
Originally Posted by DarkPower
f*** srry for my bad english i was think for WATHER srry
Water or Weather?
Reply
#7

Quote:
Originally Posted by Carlton
Quote:
Originally Posted by DarkPower
f*** srry for my bad english i was think for WATHER srry
Water or Weather?
Water, where you on boat XD only way to say what i mean XD
Reply
#8

Quote:
Originally Posted by DarkPower
Quote:
Originally Posted by Carlton
Quote:
Originally Posted by DarkPower
f*** srry for my bad english i was think for WATHER srry
Water or Weather?
Water, where you on boat XD only way to say what i mean XD
Then no it's not possible.
Reply
#9

but how some peoples make fish system and when you not on water its say, You must be on water
Reply
#10

Quote:
Originally Posted by DarkPower
but how some peoples make fish system and when you not on water its say, You must be on water
They mean you must be in a certain location.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)