Safe help
#1

Okay im created a safe system but i need help with withdraw command, how to i put if
Код:
Ftype == PlayerInfo[playerid[pTeam]
idk the code has failed me does anyone have any idea?! everything iz perfect accept actually setting the safe to a particular team

What im trying to is if the fType the same as the player team

like if ftype=1 and pteam= 1 the player can withdraw from the safe otherwise send a return message
Reply
#2

So basicly you want to let only people, members of certain team / family / group or whatever to withdraw from the safe ? If yes it should be like this ->
pawn Код:
CMD:withdraw(playerid, params[])
{
       if(Ftype == PlayerInfo[playerid][pTeam])
       {
               // Your code goes here
        }
       return 1;
}
If you can't make it, just post here your command code, I'll make it for you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)