- 0
Problema /war
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
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]
3 answers to this question
Recommended Posts