*** This topic title is not descriptive - ******
#7

Quote:
Originally Posted by Glad2BeHere
Посмотреть сообщение
pawn Код:
CMD:money(playerid,params[])
{
if(PlayerInfo[playerid][pCash] >=0)
{
format(string, sizeof(string), "You have %d money", PlayerInfo[playerid][pCash]);
}
else
if(PlayerInfo[playerid][pCash] < 0)
{
format(string, sizeof(string), "You are in debt of %d ", PlayerInfo[playerid][pCash]);
}
SendClientMessage(playerid, -1, string);
return 1;
}
He doesn't want a command. He wants to keep checking if a player is in debt..

@Zachlive, editing my code to send the message to the rcon admin on the server too
Reply


Messages In This Thread
*** This topic title is not descriptive - ****** - by Zachlive - 08.11.2012, 04:32
Re: Two quick questions. - by [HK]Ryder[AN] - 08.11.2012, 04:49
Re: Two quick questions. - by Glad2BeHere - 08.11.2012, 05:11
Re: Two quick questions. - by Zachlive - 08.11.2012, 05:42
Re: Two quick questions. - by [HK]Ryder[AN] - 08.11.2012, 06:21
Re: Two quick questions. - by Glad2BeHere - 08.11.2012, 06:23
Re: Two quick questions. - by [HK]Ryder[AN] - 08.11.2012, 06:24
Re: Two quick questions. - by Glad2BeHere - 08.11.2012, 06:27
Re: Two quick questions. - by [HK]Ryder[AN] - 08.11.2012, 06:30
AW: Two quick questions. - by xerox8521 - 08.11.2012, 06:47

Forum Jump:


Users browsing this thread: 1 Guest(s)