31.03.2013, 22:35
(
Последний раз редактировалось Camorra; 03.04.2013 в 12:50.
)
SLOVED
Thanks zxc1
Thanks zxc1
if(!strcmp(tmp, "take"))
if(strcmp(tmp, "take"))
new cursguns = dini_Int(filename,"sguns");
new cursdrugs = dini_Int(filename,"sdrugs");
SendClientMSG(playerid, COLOR_LIGHTGREY, "LOCKER: There is currently %d Guns and %d Drugs in the locker.", cursguns, cursdrugs);
return SCP(playerid, "[ take / put ] [ sguns / sdrugs ] [ amount ]");
Why you use a '!' ?
pawn Код:
pawn Код:
|
amount = strval(tmp3);
Why you use a '!' ?
pawn Код:
pawn Код:
|
No.. it should be !strcmp.
It checks if the input is the same as what the scripter compared it with, in this case with 'take'. @ Camorra: I hate people who steal other people's codes/scripts. ( You know what I mean ) |