09.05.2012, 18:25
I have a problem, I made a plugin with the SDK and Invoke and Invoke it seems it does not work ... GivePlayerWeapon exactly.
The script is this: http://pastebin.com/VhjDUTQY
And to use the function:
When you give the command, nothing happens, where is the problem?
The script is this: http://pastebin.com/VhjDUTQY
And to use the function:
pawn Код:
native GiveWeapon ( playerid, gunid, ammo );
YCMD:test ( playerid, params[], help )
{
#pragma unused params
GiveWeapon ( playerid, 24, 500 );
return 1;
}