What it's wrong with this ?
#3

Quote:
Originally Posted by dominik523
Посмотреть сообщение
This:
Код:
if(sscanf(params,"i", ID, GUN, AMMO)) return SendClientMessage(playerid,-1,"{FF0000}AdmUsage: {15FF00}/GiveWeapon [ID] [Gun ID/Part Of Name] [Ammo]");
You need to get 3 variables out of params, and you only took 1.
Код:
if(sscanf(params,"iii", ID, GUN, AMMO)) return SendClientMessage(playerid,-1,"{FF0000}AdmUsage: {15FF00}/GiveWeapon [ID] [Gun ID/Part Of Name] [Ammo]");
Thank you for help. + Rep.
Reply


Messages In This Thread
What it's wrong with this ? - by HY - 01.11.2014, 11:11
Re: What it's wrong with this ? - by dominik523 - 01.11.2014, 11:13
Re: What it's wrong with this ? - by HY - 01.11.2014, 11:15
Re: What it's wrong with this ? - by Banana_Ghost - 01.11.2014, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)