09.04.2012, 14:51
https://sampforum.blast.hk/showthread.php?tid=280696
So when I use /sw it appears in the inventory but when I do /swoff it doesn't remove any seaweed how do I sort it out?
Код:
if(strcmp("/sw", cmdtext, true) == 0) { new Seaweed = Create_Item("Seaweed"); Add_Item(playerid, Seaweed); return 1; }
Код:
if(strcmp("/swoff", cmdtext, true) == 0) { new Seaweed = Create_Item("Seaweed"); Remove_Item(playerid, Seaweed, 1); return 1; }