How to make natives?
#5

Quote:
Originally Posted by Joe_
I believe you use stock, then use 'native <function name'.
Are you sure?
Cause like a_samp is this:

pawn Код:
native print(const string[]);
native printf(const format[], {Float,_}:...);
native format(output[], len, const format[], {Float,_}:...);
native SendClientMessage(playerid, color, const message[]);
native SendClientMessageToAll(color, const message[]);
native SendPlayerMessageToPlayer(playerid, senderid, const message[]);
native SendPlayerMessageToAll(senderid, const message[]);
native SendDeathMessage(killer,killee,weapon);
native GameTextForAll(const string[],time,style);
native GameTextForPlayer(playerid,const string[],time,style);
native SetTimer(funcname[], interval, repeating);
native SetTimerEx(funcname[], interval, repeating, const format[], {Float,_}:...);
native KillTimer(timerid);
native GetTickCount();
native GetMaxPlayers();
native CallRemoteFunction(const function[], const format[], {Float,_}:...);
native CallLocalFunction(const function[], const format[], {Float,_}:...);
native Float:asin(Float:value);
native Float:acos(Float:value);
native Float:atan(Float:value);
native Float:atan2(Float:x, Float:y);
But i tried making stock and native but it brung errors, Symbol already defined
Reply


Messages In This Thread
How to make natives? - by NewTorran - 14.06.2010, 15:00
Re: How to make natives? - by DJDhan - 14.06.2010, 15:40
Re: How to make natives? - by NewTorran - 14.06.2010, 15:58
Re: How to make natives? - by Joe_ - 14.06.2010, 16:00
Re: How to make natives? - by NewTorran - 14.06.2010, 16:02
Re: How to make natives? - by DJDhan - 14.06.2010, 16:04
Re: How to make natives? - by Joe_ - 14.06.2010, 16:06
Re: How to make natives? - by NewTorran - 14.06.2010, 16:07
Re: How to make natives? - by Joe_ - 14.06.2010, 16:10
Re: How to make natives? - by DJDhan - 14.06.2010, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)