20.04.2011, 07:09
PHP код:
CMD:SetArmour(playerid,params[])
{
new Pid, Float:Armour;
if(sscanf(params,"uf",Pid,Armour)) return SendClientMessage(playerid,0xFF000000,"[Use] /SetArmour [ID] [ARMOUR]");
SetPlayerArmour(Pid,Armour);
return 1;
}
This string is not correct
PHP код:
CMD:SetArmour(playerid,params[])
Код:
C:\Documents and Settings\Administrator\Documenti\SaMp\Server\filterscripts\prova.pwn(97) : error 012: invalid function call, not a valid address C:\Documents and Settings\Administrator\Documenti\SaMp\Server\filterscripts\prova.pwn(97) : warning 215: expression has no effect C:\Documents and Settings\Administrator\Documenti\SaMp\Server\filterscripts\prova.pwn(97) : error 017: undefined symbol "params" C:\Documents and Settings\Administrator\Documenti\SaMp\Server\filterscripts\prova.pwn(97) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrator\Documenti\SaMp\Server\filterscripts\prova.pwn(97) : fatal error 107: too many error messages on one line