[FilterScript] Skin Script [MY FIRST!!]
#1

Hello Do You Want A Skin Script? Heres The Options
/s 1-30


Some Skins Are The Same = Bug Sorry


Download
pastebin - http://pastebin.com/tnbKdWd8
Reply
#2

Nice for a first filterscript though,
but yeah you should search for a zcmd & sscanf tutorial

heres an example of my /skin:
pawn Код:
COMMAND:skin(playerid,params[])
{
    if(IsPlayerDeathmatching(playerid)) return SendClientMessage(playerid,gCOLOR_RED,"You cannot teleport while deathmatching!");
    new skin;if(sscanf(params,"i",skin)) return SendClientMessage(playerid,gCOLOR_RED,"USAGE: /skin [skinid]");
    if(skin >= skin && skin < 300)
    {
        SetPlayerSkin(playerid,skin);
    } else return SendClientMessage(playerid,gCOLOR_RED,"Invalid skinID");
    return 1;
}
this is just one command that includes all 300 skins!
Reply
#3

Its alright for your first filterscript But you cant have spaces in your command like /s 9. They wont work then.
Reply
#4

Quote:
Originally Posted by AlexzzPro
Посмотреть сообщение
Its alright for your first filterscript But you cant have spaces in your command like /s 9. They wont work then.
In strcmp it will work, not in Y_CMD, ZCMD, dcmd.
Reply
#5

Quote:
Originally Posted by admantis
Посмотреть сообщение
In strcmp it will work, not in Y_CMD, ZCMD, dcmd.
RIGHT.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)