Need help with my Jetpack command.
#8

Thanks lelemaster.
Can you help me with this>
PHP код:
CMD:giveweapon(playeridparams[])
{
if(
IsPlayerConnected(playerid) new weapid; new targetid[MAX_PLAYER_NAME]; new string[256];
    {
    if(
sscanf(params,"ui",targetidweapid))SendClientMessage(playerid,-1,"Usage: /giveweapon (ID) (WeapID");
        {
        
GetPlayerName(playeridtargetid);
        
format(string,sizeof(string),"An administrator has given a weapon to %s"targetid);
        
SendClientMessageToAll(-1string);
        
GivePlayerWeapon(playeridweapid);
 return 
1;
  } 
Thanks in advance, and sorry, I'm learning.
Reply


Messages In This Thread
Need help with my Jetpack command. - by Magic_Time - 27.12.2012, 05:35
Re: Need help with my Jetpack command. - by XtremeR - 27.12.2012, 05:43
Re: Need help with my Jetpack command. - by Magic_Time - 27.12.2012, 05:48
Re: Need help with my Jetpack command. - by zDevon - 27.12.2012, 05:50
Re : Re: Need help with my Jetpack command. - by lelemaster - 27.12.2012, 05:53
Re: Need help with my Jetpack command. - by Magic_Time - 27.12.2012, 05:56
Re : Need help with my Jetpack command. - by lelemaster - 27.12.2012, 05:57
Re: Need help with my Jetpack command. - by Magic_Time - 27.12.2012, 06:01
Re : Re: Need help with my Jetpack command. - by lelemaster - 27.12.2012, 06:01
Re: Need help with my Jetpack command. - by zDevon - 27.12.2012, 06:12

Forum Jump:


Users browsing this thread: 3 Guest(s)