Help help
#1

Код:
CMD:checkdrugs(playerid, params[])
{
	new string[100];
	new string2[100];
    format(string, sizeof(string), "You have %s Heroin", Heroin[playerid]);
    format(string2, sizeof(string2), "You Have %s Weed", Weed[playerid]);
    SendClientMessage(playerid, -1, string);
    SendClientMessage(playerid, -1, string2);
    return 1;
}
on %s when i /checkdrugs it hasn't got any number like this You have Weed PLese help this is the last post
Reply
#2

where have you declared the enumerator Weed in the GM ??
Reply
#3

why u used "%s" if u have to show numbers?? O.o use "%d" instead of "%s"
Reply
#4

thxx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)