[Tutorial] Making simple hitman contract system[Zcmd,sscanf2]
#10

PHP код:

CMD
:showcontrats(playeridparams[])
{
      if(
HitContract[playerid] < 1) return 1;
      new 
name[MAX_PLAYER_NAME+1];
      
SendClientMessage(playerid, -1"--------- List of the contracts -----------");
      foreach(new 
Player)
      {
            if(
Hitman[i]) GetPlayerName(inamesizeof(name)), SendClientMessage(playerid, -1"- Target : %s || Amount : %i"nameGetPVarInt(i"hitmanmoney"));
      }
      return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)