AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Problem whit Semiclip (https://forums.alliedmods.net/showthread.php?t=141308)

Stylaa 10-22-2010 08:53

Problem whit Semiclip
 
So when im using this Code i have a Problem

My event Player TOUCH dont work anymore i need a Semiclip where the Player Touch Events works how can i fix that?

PHP Code:

plugin_init()
{
      
register_forward(FM_PlayerPreThink"preThink")
      
register_forward(FM_PlayerPostThink"postThink")
}
public 
preThink(id)
{
      if(
pev(idpev_movetype) == MOVETYPE_NOCLIP) return

      
set_pev(idpev_solidSOLID_SLIDEBOX)
}
public 
postThink(id)
{
      if(
pev(idpev_movetype) == MOVETYPE_NOCLIP) return

      
set_pev(idpev_solidSOLID_NOT)




All times are GMT -4. The time now is 10:25.

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