Some help with skins.
#4

@Fancy:
That doesn't work.
In your code skinid is always 0.


@GabiXx:
Use sscanf.
https://sampforum.blast.hk/showthread.php?tid=570927

PHP код:
CMD:skin(playerid,params[])
{
    new 
skinid;
    if(
sscanf(params,"i",skinid))return SendClientMessage(playerid,-1,"/skin [ID]");
    if(
skinid || skinid 311)return SendClientMessage(playerid,-1,"Invalid SkinID");
    
SetPlayerSkin(playerid,skinid);
    return 
1;

If you use another command-processor you can change this.

- Mencent
Reply


Messages In This Thread
Some help with skins. - by GabiXx - 24.07.2015, 08:47
AW: Some help with skins. - by Mencent - 24.07.2015, 08:50
Re: Some help with skins. - by Fancy - 24.07.2015, 09:20
AW: Some help with skins. - by Mencent - 24.07.2015, 10:39
Re: Some help with skins. - by GabiXx - 24.07.2015, 16:17
Re : Some help with skins. - by Terrorizt - 24.07.2015, 16:30
Re: Some help with skins. - by GabiXx - 25.07.2015, 10:23
AW: Some help with skins. - by Mencent - 25.07.2015, 10:24
Re : Some help with skins. - by Terrorizt - 25.07.2015, 10:25
Re: Some help with skins. - by GabiXx - 25.07.2015, 12:22

Forum Jump:


Users browsing this thread: 2 Guest(s)