Raised This Month: $51 Target: $400
 12% 

Grab


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NooTy
Member
Join Date: Sep 2019
Old 11-28-2019 , 09:42   Grab
Reply With Quote #1

Hi
I Want To Make Rotation on screen (Model Rotate) Can Someone Help me?
Quote:
public grabing( id )
{

new menu = menu_create("Menu By NooTy", "grabm");

menu_additem(menu, "\wKick.", "1", 0);
menu_additem(menu, "\wKill.", "2", 0);
menu_additem(menu, "\wDisarm", "3", 0);
menu_additem(menu, "\wGive a Player Speed.", "4", 0);
menu_additem(menu, "\wReturn Player Speed To 0.", "5", 0);
menu_additem(menu, "\wLeave 1 hp To The Player.", "6", 0);
menu_additem(menu, "\wRotate The Screen To The Player.", "7", 0);

menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0);

return PLUGIN_HANDLED
}
public grabm(id, menu, item)
{
if(item == MENU_EXIT)
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}

new data[6], iName[64];
new access, callback;
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);

new key = str_to_num(data);
new Admin[32]
get_user_name(id, Admin, charsmax(Admin))

switch(key)
{
case 1:
{
server_cmd("amx_kick #%d Admin %s Kicked You By GRAB",id, Admin)
client_print(0, print_chat, "Admin %s Kicked %s By Grab",Admin ,id)
}
case 2:
{
server_cmd("amx_slay #%d",id)
client_print(0, print_chat, "Admin %s Slayed %s By Grab",Admin ,id)
}
case 3:
{
strip_user_weapons(id)
client_print(id, print_chat, "Admin %s Diasarmed You By Grab",Admin)
}
case 4:
{
speed[id]=true;
client_print(id, print_chat, "Admin %s Gave You Speed You By Grab",Admin)
}
case 5:
{
speed[id]=false;
set_user_maxspeed(id, 750.0)
client_print(target, print_chat, "Admin %s Removed Your Speed By Grab",Admin)
}
case 6:
{
set_user_health(id, 1)
client_print(id, print_chat, "Admin %s Leaved You 1 hp",Admin)
}
case 7:
{

client_print(id, print_chat, "Admin %s Rotated Your Screen",Admin)
}

}

menu_destroy(menu);
return PLUGIN_HANDLED;
}
NooTy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode