15.07.2014, 18:55
E to usando ZCMD no comandos, mas ta dando esses Warnings.
PHP код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys==KEY_SECONDARY_ATTACK)) // Key ( F / Enter )
{
cmd_agls(playerid, "");
cmd_agsf(playerid, "");
cmd_aglv(playerid, "");
cmd_sag(playerid, "");
}
return 1;
}
Код:
C:\Users\Fernando\Desktop\Construindo\filterscripts\profis.pwn(1861) : warning 209: function "cmd_agls" should return a value C:\Users\Fernando\Desktop\Construindo\filterscripts\profis.pwn(1872) : warning 209: function "cmd_agsf" should return a value C:\Users\Fernando\Desktop\Construindo\filterscripts\profis.pwn(1883) : warning 209: function "cmd_aglv" should return a value C:\Users\Fernando\Desktop\Construindo\filterscripts\profis.pwn(1927) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Warnings.