alors c'est tout simple ! vous ajoutez le code au dessus de
Code:
if (cvar.systime)
(pour info c'est l'heure)
voila enjoy !!!
Code:
if(cvar.lowammo && me.alive)
{
if(me.iClip <= 6)
{
if(strstr("m4a1",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("aug",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("sg552",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("ak47",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("mp5",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("mac10",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("sg550",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("ump45",gGetWeaponName(me.ent->curstate.weaponmodel)))
{
DrawHudString(displayCenterX,displayCenterY,128,0,0,"reload your weapon !");
}
}
if(me.iClip <= 3)
{
if(strstr("usp",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("deagle",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("elite",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("fiveseven",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("glock18",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("p228",gGetWeaponName(me.ent->curstate.weaponmodel)))
{
DrawHudString(displayCenterX,displayCenterY,128,0,0,"reload your weapon !");
}
}
if(me.iClip <= 3)
{
if(strstr("m3",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("xm1014",gGetWeaponName(me.ent->curstate.weaponmodel)))
{
DrawHudString(displayCenterX,displayCenterY,128,0,0,"reload your weapon !");
}
}
if(me.iClip <= 20)
{
if(strstr("m249",gGetWeaponName(me.ent->curstate.weaponmodel)))
{
DrawHudString(displayCenterX,displayCenterY,128,0,0,"reload your weapon !");
}
}
if(me.iClip <= 10)
{
if(strstr("p90",gGetWeaponName(me.ent->curstate.weaponmodel)))
{
DrawHudString(displayCenterX,displayCenterY,128,0,0,"reload your weapon !");
}
}
if(me.iClip <= 5)
{
if(strstr("g3sg1",gGetWeaponName(me.ent->curstate.weaponmodel)))
{
DrawHudString(displayCenterX,displayCenterY,128,0,0,"reload your weapon !");
}
}
if(me.iClip <= 3)
{
if(strstr("awp",gGetWeaponName(me.ent->curstate.weaponmodel)) ||
strstr("scout",gGetWeaponName(me.ent->curstate.weaponmodel)))
{
DrawHudString(displayCenterX,displayCenterY,128,0,0,"reload your weapon !");
}
}
}