Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Pancirka by Ismet_BN!
- #include <a_samp>
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(!strcmp(cmdtext, "/pancirka", true))
- {
- SetPlayerAttachedObject(playerid, 3, 19142, 1, 0.130300, 0.040000, -0.003500, 0, 0, 0, 1.1, 1.1, 1.1);
- return SendClientMessage(playerid, 0x00FF00FF, "Uzeli ste Pancirku sada ce vas protivnik teze ubiti!");
- }
- if(!strcmp(cmdtext, "/maknipancirku", true))
- {
- if(IsPlayerAttachedObjectSlotUsed(playerid, 3))
- {
- RemovePlayerAttachedObject(playerid, 3);
- SendClientMessage(playerid, 0x00FF00FF, "Skinuli ste pancirku...");
- }
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment