This works in another script but not mine?
#2

pawn Код:
if(strcmp(usage, "store", true) ==0)// correct me but isnt store being checked here already?
{
    if(sscanf(params, "s[24]s[32]",usage,item))//you need not have two as the if already checks store :S
    {
        SendClientMessage(playerid, COLOUR_GREY, "Usage: /trunk store [item]");
        SendClientMessage(playerid, COLOUR_GREY, "Available Items: Weapon, Weed, Cocaine, Money, Armour");
    }
If you post your command i will rewrite the fixed version for you.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)