C:\Server mio\filterscripts\zonas.pwn(51) : warning 202: number of arguments does not match definition
C:\Server mio\filterscripts\zonas.pwn(51) : warning 202: number of arguments does not match definition
C:\Server mio\filterscripts\zonas.pwn(51) : warning 202: number of arguments does not match definition
C:\Server mio\filterscripts\zonas.pwn(51) : warning 202: number of arguments does not match definition
C:\Server mio\filterscripts\zonas.pwn(52) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Warnings.
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
new bandadm;
new bandasdm;
new minigundm;
new minigun;
new campodm;
new campo;
new fiestafun;
new fiesta;
new piscina;
new cpiscina;
#include <a_samp>
#include <streamer>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
}
#endif
public OnGameModeInit()
{
bandasdm = GangZoneCreate(2212.404, -1851.615, 2391.137, -1760.817);
bandadm = CreateDynamicRectangle(2212.404, -1851.615, 2391.137, -1760.817, -1, -1, -1);
minigundm = GangZoneCreate(852.4849, 163.4902, 1144.432, 362.0141);
minigun = CreateDynamicRectangle(852.4849, 163.4902, 1144.432, 362.0141, -1, -1, -1);
campodm = GangZoneCreate(-315.3026, -175.1681, 128.4566, 198.5239);
campo = CreateDynamicRectangle(-315.3026, -175.1681, 128.4566, 198.5239);
fiestafun = GangZoneCreate(1208.455, -1709.496, 1299.723, -1610.802);
fiesta= CreateDynamicRectangle(1208.455, -1709.496, 1299.723, -1610.802);
piscina = GangZoneCreate(451,6909, -2333,239, 858,5944, -2092,427);
cpiscina = CreateDynamicRectangle(451,6909, -2333,239, 858,5944, -2092,427);
return 1;
}
public OnPlayerEnterDynamicArea(playerid, areaid)
{
if(areaid == bandadm)
{
}
if(areaid == minigun)
{
}
if(areaid == campo)
{
}
if(areaid == fiesta)
{
GameTextForPlayer(playerid, "~w~Zona Pacifica ~b~armas removidas", 3000,3);
ResetPlayerWeapons(playerid);
}
if(areaid == cpiscina)
{
GameTextForPlayer(playerid, "~w~Zona Pacifica ~b~armas removidas", 3000,3);
ResetPlayerWeapons(playerid);
}
}
public OnPlayerLeaveDynamicArea(playerid, areaid)
{
if(areaid == bandadm)
{
GameTextForPlayer(playerid, "~w~Has salido de la zona DM, ~b~armas removidas", 3000, 3);//Texto que aparecerб
ResetPlayerWeapons(playerid);
}
if(areaid == minigun)
{
GameTextForPlayer(playerid, "~w~Has salido de la zona DM, ~b~armas removidas", 3000, 3);//Texto que aparecerб
ResetPlayerWeapons(playerid);
}
if(areaid == campo)
{
GameTextForPlayer(playerid, "~w~Has salido de la zona DM, ~b~armas removidas", 3000, 3);//Texto que aparecerб
ResetPlayerWeapons(playerid);
}
if(areaid == fiesta)
{
GameTextForPlayer(playerid, "~w~Has salido de la zona puedes usar ~b~armas ", 3000,3);
}
if(areaid == cpiscina)
{
GameTextForPlayer(playerid, "~w~Has salido de la zona puedes usar ~b~armas ", 3000,3);
}
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
GangZoneShowForPlayer(playerid, bandasdm, 0xFF00005B);
GangZoneShowForPlayer(playerid, minigundm, 0xFF00005B);
GangZoneShowForPlayer(playerid, campodm, 0xFF00005B);
GangZoneShowForPlayer(playerid, fiestafun, 0xFFFF0096);
GangZoneShowForPlayer(playerid, piscina, 0xFFFF8096);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
return 0;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
minigundm = GangZoneCreate(852.4849, 163.4902, 1144.432, 362.0141);
piscina = GangZoneCreate(451.6909, -2333.239, 858.5944, -2092.427);
cpiscina = CreateDynamicRectangle(451.6909, -2333.239, 858.5944, -2092.427);
minigundm = GangZoneCreate(852.4849, 163.4902, 1144.432); piscina = GangZoneCreate(451.6909, -2333.239, 858.5944); cpiscina = CreateDynamicRectangle(451.6909, -2333.239, 858.5944);
(X,Y,Z)
EDITO: sucede que el problema estaba en que al poner:
pawn Код:
|
Es debido a que no cumples con los parбmetros necesarios.
pawn Код:
|
no eso no era xp lo que pasaba es que son 4 coordenadas por que es un cuadrado xD lo hago con un programa que si bien no me acuerdo tu pasaste el link en un tuto tuyo y pues lo q estaba mal es que el programa daba las coordenadas:
w.x.y.z (digamos que como son 4 ponemos w xD) tenia q darlas asi: w,x,y,z yo si sabia eso pero de tanto que hacie me olvide xD |