Question Info: Function, [...] is correct ? - SOLVED
#1

Function:

PHP код:
GivePlayerWeapons(playeridparams)
{
    new
        
start 1,
        
num numargs();
    for(new 
startnumi++)
    {
        
GivePlayerWeapon(playeridgetarg(i), getarg(i++));
    }
    return 
1;

Example usage:

PHP код:
GivePlayerWeapons(playerid92632134); 
is correct ??
Reply


Messages In This Thread
Question Info: Function, [...] is correct ? - SOLVED, Thanks. - by Speed++ - 27.06.2012, 14:07
Re: Question Info: Function, [...] is correct ? - by JaTochNietDan - 27.06.2012, 14:12
Re: Question Info: Function, [...] is correct ? - by Speed++ - 27.06.2012, 14:16
Re: Question Info: Function, [...] is correct ? - SOLVED - by Speed++ - 28.06.2012, 23:35
Re: Question Info: Function, [...] is correct ? - SOLVED - by JaTochNietDan - 28.06.2012, 23:48

Forum Jump:


Users browsing this thread: 1 Guest(s)