[HELP] Give Timer For Using Command
#1

[HELP]
How to create Timer On Using command

This my code

//Pick Ammo
CMDickammo(playerid,params[])
{
for(new i= 0; i < sizeof(pickup_Box); i++)
{
new Float,Float: y,Float: z;
new weapons[13][2];
GetPlayerWeaponData( playerid, i, weapons[i][0], weapons[i][1] );
SetPlayerAmmo( playerid, i, weapons[i][1] + ( 5 + random( 500 ) ) );
GetObjectPos(playerid, x, y, z);
if(IsPlayerInRangeOfPoint(playerid, x, y ,z, 10.0)) { SendClientMessage( playerid, -1, "Anda dekat dengan objek Pick_Box!" ); }
}
return 1;
}

Please Help Me
Thanks

No Ones Help o.O ?
Reply


Messages In This Thread
[HELP] Give Timer For Using Command - by FloxX - 28.08.2014, 10:08
Re: [HELP] Give Timer For Using Command - by Dotayuri - 28.08.2014, 11:02
Re: [HELP] Give Timer For Using Command - by DaniceMcHarley - 28.08.2014, 11:06

Forum Jump:


Users browsing this thread: 1 Guest(s)