Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- /*
- ************************************************
- *****FS Creado por Kingworld - CCordoba*********
- **************184.22.115.52:9999****************
- ************************************************
- */
- public OnFilterScriptInit()
- {
- print("\n / | / |");
- print("(___| ___ ___ ___| ___ ___");
- print("| )|___)| )| | )| )|___");
- print("| / |__ | | |__/ |__/| __/\n");
- return 1;
- }
- public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
- {
- new Float:CC;
- GetPlayerArmour(damagedid,Float:CC);
- if (Float:CC > 0) {
- SetPlayerAttachedObject(damagedid, 0, 1242, 1, 0.819463, 0.000000, 0.037333, 0.000000, 90.717407, 162.956466, 1.000000, 1.000000, 1.000000 );
- SetTimerEx("sacarobjeto", 2000, false, "i", damagedid);
- } else {
- SetPlayerAttachedObject(damagedid, 0, 1240, 1, 0.819463, 0.000000, 0.037333, 0.000000, 90.717407, 162.956466, 1.000000, 1.000000, 1.000000 );
- SetTimerEx("sacarobjeto", 2000, false, "i", damagedid);
- }
- return 1;
- }
- forward sacarobjeto(playerid);
- public sacarobjeto(playerid)
- {
- for(new i;i<5;i++) RemovePlayerAttachedObject(playerid,i);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement