[Pedido] Cmd de mudar interior bizz
#4

Quote:
Originally Posted by mau.tito
Посмотреть сообщение
Nгo sei se esta correto, nгo sei fazer em strcmp, porisso fiz em zcmd.

pawn Код:
#include zcmd
#include sscanf2

COMMAND:mudarint(playerid, params[])
{
   new IDEmp, IDInt;
   if(playerInfo[playerid][pAdmin] >= 1)
      return SendClientMessage(playerid, -1,"[x] Vocк nгo й um ADM!");

   if(sscanf(params,"ii", IDEmp, IDInt))
      return SendClientMessage(playerid, -1,"[x] CMD : [Id Empresa] [Id Interior]");
     
   BizzInfo[IDEmp][bInterior] = IDInt;
   return true;
}
Deu certo obrigado mas uma vez.
Reply


Messages In This Thread
Cmd de mudar interior bizz - by Freak@ - 09.11.2012, 12:01
Re: Cmd de mudar interior bizz - by Freak@ - 09.11.2012, 13:49
Re: Cmd de mudar interior bizz - by mau.tito - 09.11.2012, 16:23
Re: Cmd de mudar interior bizz - by Freak@ - 09.11.2012, 16:33

Forum Jump:


Users browsing this thread: 1 Guest(s)