sscanf
#1

How To Use Sscanf ? For enbale changeskin for Player i Mean Take skinchanger[playerid] To 1
(skinchanger[playerid] = 1
Its Code: + Rep
Код:
dcmd_givechangeskin(playerid,params[])
{
	new ID;
    if(sscanf(params, "u", ID))
	{
	    SendClientMessage(playerid,COLOR_RED,"use: /givechangeskin (ID)");
	    return 1;
	}
    skinchanger[playerid] = 1;
    return 1;
}
Reply


Messages In This Thread
sscanf - by alishvasis - 05.03.2014, 20:17
Re: sscanf - by Abagail - 05.03.2014, 20:18
Re: sscanf - by Necip - 05.03.2014, 20:20
Re: sscanf - by alishvasis - 05.03.2014, 20:21
Re: sscanf - by Necip - 05.03.2014, 20:22
Re: sscanf - by alishvasis - 05.03.2014, 20:28
Re: sscanf - by alishvasis - 05.03.2014, 20:31
Re: sscanf - by XK - 05.03.2014, 20:46
Re: sscanf - by Konstantinos - 05.03.2014, 20:50
Re: sscanf - by XK - 05.03.2014, 20:58

Forum Jump:


Users browsing this thread: 2 Guest(s)