- 0
Problema /war
-
Similar Content
-
Problema turf
By Soryn.,
- 2 answers
- 212 views
-
- 1 reply
- 167 views
-
Problema
By ImJustSlim,
- 3 answers
- 279 views
-
- 2 replies
- 152 views
-
- 1 answer
- 297 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
fytza
Nume: fytza
Problem? întâlnit: Nu func?ioneaz? (cred) func?ia IsPlayerInZone. Când tastez /war îmi spune tot timpu' c? nu sunt pe teritoriu.
Ce am încercat pân? acum: S? modific func?ia
Codul sursa/Log/Altele:
[pawn]
forward IsPlayerInZone(playerid, zoneid);
stock IsPlayerInZone(playerid, zoneid)
{
new Float, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
return (x > TeritoriuData[zoneid][tPozX1] && x < TeritoriuData[zoneid][tPozY1] && y > TeritoriuData[zoneid][tPozX2] && y < TeritoriuData[zoneid][tPozY2]);
}[/pawn]
Link to comment
Share on other sites
3 answers to this question
Recommended Posts