Guest User

Stit

a guest
Oct 27th, 2012
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. // Pancirka by Ismet_BN!
  2. #include <a_samp>
  3.  
  4. public OnPlayerCommandText(playerid, cmdtext[])
  5. {
  6. if(!strcmp(cmdtext, "/pancirka", true))
  7. {
  8. SetPlayerAttachedObject(playerid, 3, 19142, 1, 0.130300, 0.040000, -0.003500, 0, 0, 0, 1.1, 1.1, 1.1);
  9. return SendClientMessage(playerid, 0x00FF00FF, "Uzeli ste Pancirku sada ce vas protivnik teze ubiti!");
  10. }
  11. if(!strcmp(cmdtext, "/maknipancirku", true))
  12. {
  13. if(IsPlayerAttachedObjectSlotUsed(playerid, 3))
  14. {
  15. RemovePlayerAttachedObject(playerid, 3);
  16. SendClientMessage(playerid, 0x00FF00FF, "Skinuli ste pancirku...");
  17. }
  18. return 1;
  19. }
  20. return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment