08.05.2011, 23:38
cara fica dando esses warnings( warnings da @$@%#Ё&! )
aonde da o warning e o comando que vc me passou
pawn Код:
C:\Users\Washington\Desktop\testes\gamemodes\MxP.pwn(665) : warning 202: number of arguments does not match definition
C:\Users\Washington\Desktop\testes\gamemodes\MxP.pwn(666) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 4004 bytes
Code size: 28000 bytes
Data size: 136284 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5016 cells (20064 bytes)
Total requirements: 184672 bytes
2 Warnings.
pawn Код:
public ChecarLife(playerid)
{
for(new i = 0; i<MAX_PLAYERS; i++)
{
if(GetPlayerArmour(i) >= 1) return SetPlayerAttachedObject(i,5,19142,1,0.1,0.05,0.0,0.0,0.0,0.0);
else if(GetPlayerArmour(i) <= 0) return RemovePlayerAttachedObject(i,5);
}
return 1;
}