20.05.2012, 01:46
Nossa, Vc cria o loop mas nгo usa ele
Mas por ser novato, 6/10.
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);
}