в PropMenuHandler и BonusCTMenuHandler после
else if (StrEqual(info, "rotate"))
{
new entity = GetClientAimTarget2(client, false);
if (entity > MaxClients)
{
добавь
new userid = GetEntProp(entity, Prop_Send, "m_PredictableID");
if (userid == 0)
PrintToChat(client, "\x05[sProps] \x04Крутить предметы, установленные на карте запрещено!");
else
{
и не забудь закрыть скобку))
хм...мне сервер выдает, что ошибки:
L 09/21/2015 - 02:08:19: [SM] Native "SetEntProp" reported: Property "m_PredictableID" not found (entity 236/prop_dynamic)
L 09/21/2015 - 02:08:19: [SM] Displaying call stack trace for plugin "sProps.smx":
L 09/21/2015 - 02:08:19: [SM] [0] Line 872, /home/groups/sourcemod/upload_tmp/phpCI1yuH.sp::SpawnProp()
L 09/21/2015 - 02:08:19: [SM] [1] Line 619, /home/groups/sourcemod/upload_tmp/phpCI1yuH.sp::PropMenuHandler()
L 09/21/2015 - 02:08:30: [SM] Native "GetEntProp" reported: Property "m_PredictableID" not found (entity 312/prop_physics_multiplayer)
L 09/21/2015 - 02:08:30: [SM] Displaying call stack trace for plugin "sProps.smx":
L 09/21/2015 - 02:08:30: [SM] [0] Line 315, /home/groups/sourcemod/upload_tmp/phpCI1yuH.sp::OnPostThink()
L 09/21/2015 - 02:08:30: [SM] Native "GetEntProp" reported: Property "m_PredictableID" not found (entity 312/prop_physics_multiplayer)
L 09/21/2015 - 02:08:30: [SM] Displaying call stack trace for plugin "sProps.smx":
L 09/21/2015 - 02:08:30: [SM] [0] Line 315, /home/groups/sourcemod/upload_tmp/phpCI1yuH.sp::OnPostThink()
L 09/21/2015 - 02:08:31: [SM] Native "GetEntProp" reported: Property "m_PredictableID" not found (entity 312/prop_physics_multiplayer)
L 09/21/2015 - 02:08:31: [SM] Displaying call stack trace for plugin "sProps.smx":