11.01.2014, 14:01
Buneas quisiera saber como ago para sacar las coordenadas para crear una zona...
Gracias les agradeceria mucho que me ayudaran.
Gracias les agradeceria mucho que me ayudaran.
if(IsPlayerInRectangle(playerid, ZonaAA)) return GameTextForPlayer(playerid,"~W~Armas ~r~Bloqueadas ~w~En Zonas Stunt!",3000,5);
stock IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if (x > minx && x < maxx && y > miny && y < maxy) return 1;
return 0;
}
undefined symbol "IsPlayerInRectangle"
stock IsPlayerInRectangle(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if (x > minx && x < maxx && y > miny && y < maxy) return 1;
return 0;
}
D:\Dark Empire - FREEROAM\gamemodes\DE.pwn(3070) : warning 202: number of arguments does not match definition
D:\Dark Empire - FREEROAM\gamemodes\DE.pwn(3070) : warning 202: number of arguments does not match definition
D:\Dark Empire - FREEROAM\gamemodes\DE.pwn(3070) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 8560 bytes
Code size: 1494188 bytes
Data size: 16184364 bytes
Stack/heap size: 20000000 bytes; estimated max. usage: unknown, due to recursion
Total requirements:37687112 bytes
3 Warnings.
if(IsPlayerInRectangle(playerid, ZonaAA)) return GameTextForPlayer(playerid,"~W~Armas ~r~Bloqueadas ~w~En Zonas Stunt!",3000,5);
if(IsPlayerInRectangle(playerid, "ZonaAA")) return GameTextForPlayer(playerid,"~W~Armas ~r~Bloqueadas ~w~En Zonas Stunt!", 3000, 5);