new fAutoC[MAX_PLAYERS];
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && weaponid == 24){
fAutoC[playerid] ++;
if(gettime() > GetPVarInt(playerid, "UmSegundo")){
SetPVarInt(playerid, "UmSegundo", gettime() + 1);
fAutoC[playerid] = 0;
}else{
if(fAutoC[playerid] > 4){
SendClientMessage(playerid, 0xFF0000FF, "Vocк estб usando Macro / Auto-CBUG.");
fAutoC[playerid] = 0;
}
}
}
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_CROUCH)
fAutoC[playerid] = 0;
return 1;
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_CROUCH)
fAutoC[playerid] = 0;
return 1;
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_JUMP)
fAutoC[playerid] = 0;
return 1;
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_CROUCH)
fAutoC[playerid] = 0;
if(newkeys & KEY_JUMP)
fAutoC[playerid] = 0;
return 1;
public conteudo_aleatorio(parametros)
{
//conteъdo 1
return 1;
}
public conteudo_aleatorio(parametros)
{
//conteъdo 2
return 1;
}
public conteudo_aleatorio(parametros)
{
//conteъdo 1
//conteъdo 2
return 1;
}
Sei que estou sendo chato mais queria que alguйm me ajudasse via skype.. se possivel nгo estou conseguindo fazer isto.
|