Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCheat(playerid, cheatid)
- {
- switch(cheatid)
- {
- case CHEAT_HEALTH:
- {
- format(gString, sizeof(gString), " ¡%s ha utilizado cheats para la vida!", PlayerCheat[playerid][NAME]);
- SendClientMessageToAll(-1, gString);
- }
- case CHEAT_ARMOUR:
- {
- format(gString, sizeof(gString), " ¡%s ha utilizado cheats para el chaleco!", PlayerCheat[playerid][NAME]);
- SendClientMessageToAll(-1, gString);
- }
- case CHEAT_CASH:
- {
- format(gString, sizeof(gString), " ¡%s ha utilizado cheats para el dinero!", PlayerCheat[playerid][NAME]);
- SendClientMessageToAll(-1, gString);
- }
- case CHEAT_FAKE_KILL:
- {
- format(gString, sizeof(gString), " ¡%s ha utilizado cheats para hacer fake kill!", PlayerCheat[playerid][NAME]);
- SendClientMessageToAll(-1, gString);
- }
- case CHEAT_INTERIOR:
- {
- format(gString, sizeof(gString), " ¡%s ha utilizado cheats para cambiar de interior!", PlayerCheat[playerid][NAME]);
- SendClientMessageToAll(-1, gString);
- }
- case CHEAT_VIRTUAL_WORLD:
- {
- format(gString, sizeof(gString), " ¡%s ha utilizado cheats para cambiar de virtual world!", PlayerCheat[playerid][NAME]);
- SendClientMessageToAll(-1, gString);
- }
- case CHEAT_WEAPON:
- {
- format(gString, sizeof(gString), " ¡%s ha utilizado cheats para obtener armas!", PlayerCheat[playerid][NAME]);
- SendClientMessageToAll(-1, gString);
- }
- case CHEAT_AMMO:
- {
- format(gString, sizeof(gString), " ¡%s ha utilizado cheats para obtener munición!", PlayerCheat[playerid][NAME]);
- SendClientMessageToAll(-1, gString);
- }
- }
- printf("[CHEAT log]: playerid %i cheatid %i", playerid, cheatid);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement