Jump to content
  • 0

pomoc [H]elp public nebo neco


-T-wister

Dotaz

HELP

 

 

Chcem sa spítat aká je kod na dotyk postavy z vodou?

 

Nebo public by bylo najlépe

 

Chci aby ste to napsali co nejlépe a popsatelne.

 

 

Prosíím o pomoc nejakého admina nebo skuseného pawnera.

 

Odpovede píšte tu.Dakujem

Link to comment
Share on other sites

6 odpovědí na tuto otázku

Recommended Posts

  • 0
stock IsPlayerInWater(playerid)
{
new Float:x,Float:y,Float:pz;
GetPlayerPos(playerid,x,y,pz);
if (
	(IsPlayerInAreaa(playerid, 2032.1371, 1841.2656, 1703.1653, 1467.1099) && pz <= 9.0484) //lv piratenschiff
 	|| (IsPlayerInAreaa(playerid, 2109.0725, 2065.8232, 1962.5355, 10.8547) && pz <= 10.0792) //lv visage
 	|| (IsPlayerInAreaa(playerid, -492.5810, -1424.7122, 2836.8284, 2001.8235) && pz <= 41.06) //lv staucamm
 	|| (IsPlayerInAreaa(playerid, -2675.1492, -2762.1792, -413.3973, -514.3894) && pz <= 4.24) //sf südwesten kleiner teich
 	|| (IsPlayerInAreaa(playerid, -453.9256, -825.7167, -1869.9600, -2072.8215) && pz <= 5.72) //sf gammel teich
 	|| (IsPlayerInAreaa(playerid, 1281.0251, 1202.2368, -2346.7451, -2414.4492) && pz <= 9.3145) //ls neben dem airport
 	|| (IsPlayerInAreaa(playerid, 2012.6154, 1928.9028, -1178.6207, -1221.4043) && pz <= 18.45) //ls mitte teich
 	|| (IsPlayerInAreaa(playerid, 2326.4858, 2295.7471, -1400.2797, -1431.1266) && pz <= 22.615) //ls weiter südöstlich
 	|| (IsPlayerInAreaa(playerid, 2550.0454, 2513.7588, 1583.3751, 1553.0753) && pz <= 9.4171) //lv pool östlich
 	|| (IsPlayerInAreaa(playerid, 1102.3634, 1087.3705, -663.1653, -682.5446) && pz <= 112.45) //ls pool nordwestlich
 	|| (IsPlayerInAreaa(playerid, 1287.7906, 1270.4369, -801.3882, -810.0527) && pz <= 87.123) //pool bei maddog's haus oben
 	|| (pz < 1.5)
)
{
    return 1;
}
return 0;
}

Link to comment
Share on other sites

  • 0
stock IsPlayerInWater(playerid)
{
new Float:x,Float:y,Float:pz;
GetPlayerPos(playerid,x,y,pz);
if (
	(IsPlayerInAreaa(playerid, 2032.1371, 1841.2656, 1703.1653, 1467.1099) && pz <= 9.0484) //lv piratenschiff
 	|| (IsPlayerInAreaa(playerid, 2109.0725, 2065.8232, 1962.5355, 10.8547) && pz <= 10.0792) //lv visage
 	|| (IsPlayerInAreaa(playerid, -492.5810, -1424.7122, 2836.8284, 2001.8235) && pz <= 41.06) //lv staucamm
 	|| (IsPlayerInAreaa(playerid, -2675.1492, -2762.1792, -413.3973, -514.3894) && pz <= 4.24) //sf südwesten kleiner teich
 	|| (IsPlayerInAreaa(playerid, -453.9256, -825.7167, -1869.9600, -2072.8215) && pz <= 5.72) //sf gammel teich
 	|| (IsPlayerInAreaa(playerid, 1281.0251, 1202.2368, -2346.7451, -2414.4492) && pz <= 9.3145) //ls neben dem airport
 	|| (IsPlayerInAreaa(playerid, 2012.6154, 1928.9028, -1178.6207, -1221.4043) && pz <= 18.45) //ls mitte teich
 	|| (IsPlayerInAreaa(playerid, 2326.4858, 2295.7471, -1400.2797, -1431.1266) && pz <= 22.615) //ls weiter südöstlich
 	|| (IsPlayerInAreaa(playerid, 2550.0454, 2513.7588, 1583.3751, 1553.0753) && pz <= 9.4171) //lv pool östlich
 	|| (IsPlayerInAreaa(playerid, 1102.3634, 1087.3705, -663.1653, -682.5446) && pz <= 112.45) //ls pool nordwestlich
 	|| (IsPlayerInAreaa(playerid, 1287.7906, 1270.4369, -801.3882, -810.0527) && pz <= 87.123) //pool bei maddog's haus oben
 	|| (pz < 1.5)
)
{
    return 1;
}
return 0;
}

lepšie by to bolo cez zistianimaciu nie ? ale tiež dobré len moc zložité :)

Link to comment
Share on other sites

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
×
×
  • Create New...