[Include] Atm Creator
#5

Nossa, Vc cria o loop mas nгo usa ele

pawn Код:
stock CriarAtm(Float:x,Float:y,Float:z)
{
     for(new i=1; i<MAX_ATM; i++)
        {
 
              new playerid;
              new string[128];
              if(Atm[0][pCriado] == 0)
              {
                 Atm[0][object] = CreateObject(2942,x,y,z,0.0,0.0,100.0);
                 Atm[0][pCriado] = 1;
                 Atm[0][pX] = x;
                 Atm[0][pY] = y;
                 Atm[0][pZ] = z;
                 format(string,sizeof(string),"Vocк criou um Atm: Id atm: 0 Posx %f ,Posy %f ,Posz %f",Atm[0][pX],Atm[0][pY],Atm[0][pZ]);
                 SCM(playerid,0x00FF00AA,string);
              }
Mas por ser novato, 6/10.
Reply


Messages In This Thread
Atm Creator - by wevertonneves - 20.05.2012, 01:41
Re: Atm Creator - by Matheus_Ecko - 20.05.2012, 01:43
Re: Atm Creator - by Ricop522 - 20.05.2012, 01:45
Re: Atm Creator - by Juninho_Oakley - 20.05.2012, 01:46
Re: Atm Creator - by paulor - 20.05.2012, 01:46
Re: Atm Creator - by wevertonneves - 20.05.2012, 01:47
Re: Atm Creator - by Jason` - 20.05.2012, 02:01
Re: Atm Creator - by SuB_ZeRo0_ - 20.05.2012, 02:04
Re: Atm Creator - by wevertonneves - 20.05.2012, 02:07
Re: Atm Creator - by Diogo123 - 20.05.2012, 03:40

Forum Jump:


Users browsing this thread: 1 Guest(s)