Helpppppppppppppp Meeeee!
#1

Why o.O Please Help! me for this Code

CMDickammo(playerid,params[])
{
for(new i= 0; i < sizeof(pickup_Box); i++)
{
new Float: x,Float: y,Float: z
GetObjectPos(i, x, y, z);
if(IsPlayerInRangeOfPoint(playerid, x, y ,z, 10.0)) { "Anda dekat dengan objek Pick_Box!" }
}
return 1;
}

ERROR
D:\AlexaGaming\gamemodes\AlexaaGaming.pwn(31072) : error 001: expected token: ";", but found "-identifier-"
D:\AlexaGaming\gamemodes\AlexaaGaming.pwn(31073) : warning 215: expression has no effect
D:\AlexaGaming\gamemodes\AlexaaGaming.pwn(31073) : error 001: expected token: ";", but found "}"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Imagee ?
Down!

Line ?
31072 : GetObjectPos(i, x, y, z);
31073: if(IsPlayerInRangeOfPoint(playerid, x, y ,z, 10.0)) { "You near pickbox!" }

Sorry for my bad speak english , thanks
Reply


Messages In This Thread
Helpppppppppppppp Meeeee! - by FloxX - 28.08.2014, 08:12
Re: Helpppppppppppppp Meeeee! - by FloxX - 28.08.2014, 08:16
Re: Helpppppppppppppp Meeeee! - by AiRaLoKa - 28.08.2014, 08:19
Re: Helpppppppppppppp Meeeee! - by Dotayuri - 28.08.2014, 08:20
Re: Helpppppppppppppp Meeeee! - by jihadmeneer - 28.08.2014, 09:10

Forum Jump:


Users browsing this thread: 1 Guest(s)