01.12.2012, 17:17
so i create an include, him code:
Exapmle:
when i write to my mode
I see that errors:
wtf?
PHP код:
#include <a_samp>
/*
native pn(playerid);
native pm(playerid);
native interior(playerid, interiorid);
native scm(playerid, color, const message[]);
*/
stock pn(playerid)
{
new pn[MAX_PLAYER_NAME];
GetPlayerName(playerid,pn,sizeof(pn));
return pn;
}
stock pm(playerid)
{
new pm = GetPlayerMoney(playerid);
return pm;
}
stock interior(playerid, interiorid)
{
SetPlayerInterior(playerid, interiorid);
return 1;
}
stock scm(playerid, color, const message[])
{
SendClientMessage(playerid, color, const message[]);
return 1;
}
when i write to my mode
PHP код:
scm(playerid,0xFFFFFFFF,"asdsaddsaddas");
PHP код:
C:\Users\Äèìà\Desktop\USWW\pawno\include\mfunc.inc(30) : error 029: invalid expression, assumed zero
C:\Users\Äèìà\Desktop\USWW\pawno\include\mfunc.inc(30) : error 029: invalid expression, assumed zero
C:\Users\Äèìà\Desktop\USWW\pawno\include\mfunc.inc(30) : error 029: invalid expression, assumed zero
C:\Users\Äèìà\Desktop\USWW\pawno\include\mfunc.inc(30) : fatal error 107: too many error messages on one line