Block Maker Code
Hey there!
I need some help on my block maker. Dont know the exact code for some things. Code:
new const g_model_Trampoline[] = "models/stressless/trampoline.mdl";Code:
new iHealth = get_user_health( id );I got EXolents XP mod. And when I got 120 hp for example, the healer wont heal me if im going down to 110 HP. Anyone can help me? |
Re: Block Maker Code
|
Re: Block Maker Code
Many other treads is in this forum. And its not a request, its a question about help on scripting
|
Re: Block Maker Code
It means that it is never used. You should add this
gszBlockModels[BM_TRAMPOLINE] = g_model_Trampoline; in plugin_precache Subject healer, use this code instead if (halflife_time() >= gfNextHealTime[id]) { new iHealth = ( get_user_health( id ) ); if( iHealth < 100 ) { set_pev( id, pev_health, float( iHealth ) ); } else { if( get_user_health( id ) < 100 ) set_pev( id, pev_health, 100.0 ); } } } |
Re: Block Maker Code
Dont works
Gets alot errors and wont compile |
Re: Block Maker Code
send me the errors then
|
Re: Block Maker Code
Undefined symbol "g_model_trampoline"
error 033: array must be indexed (variable gszBlockModels |
Re: Block Maker Code
Quote:
error 033: array must be indexed (variable gszBlockModels) - This means gszBlockModels needs to be indexed, for example gszBlockModels[6], but in your case you should have gszBlockModels[BM_TRAMPOLINE] |
Re: Block Maker Code
Case sensitive.
|
| All times are GMT -4. The time now is 07:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.