引用 | 編輯
zxzyman
2014-04-02 18:14 |
2樓
▲ ▼ |
幫你找到一個...
是外國網站 老外發問的問題 已解決的 只是不知道 hamsandwich 模塊 是什麼東東 #include < amxmodx > #include < fun > #include < hamsandwich > #define IsPlayer(%1) ( 1 <= %1 <= get_maxplayers( ) ) public plugin_init( ) RegisterHam( Ham_Spawn, "player", "Forward__PlayerSpawn_Post", 1 ); public Forward__PlayerSpawn_Post( iPlayer ) { if( !is_user_alive( iPlayer ) || !IsPlayer( iPlayer ) ) return; set_user_godmode( iPlayer, 1 ); } x0 |