command help
#3

well here this is my command



if (strcmp(cmd, "/admincase", true) ==0 )
{

if(PlayerInfo[playerid][Admin] == 5)
{
tmp = strtok(cmdtext, idx);

if(casemoney < 10000)
{
SendClientMessage(playerid, COLOR_GRAD1, "You Have To Make The Case Higher Then $10,000");
}
if(casemoney > 100000000)
{
SendClientMessage(playerid, COLOR_GRAD1, "You Have To Make The Case Lower Then $100,000,000");
}
else
{
casedrop[playerid] = 1;
format(string, sizeof(string), "You Have Made A admin case Worth $%d", casemoney);
SendClientMessage(playerid, 0x00C2ECFF, string);
format(string, sizeof(string), "An Admin Case Hase Been Made And $%d Is In It Go Find It", casemoney);
SendClientMessageToAll(0x00C2ECFF, string);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "You Are Not A Level 5 Admin");
}
return 1;
}


i need it to produce a number above 10000 and the other 1 but i dont know how to so could you help me out thx
Reply


Messages In This Thread
command help - by sggassasin - 30.12.2009, 08:05
Re: command help - by MerLow - 30.12.2009, 08:32
Re: command help - by sggassasin - 30.12.2009, 08:35
Re: command help - by MerLow - 30.12.2009, 08:42

Forum Jump:


Users browsing this thread: 1 Guest(s)