AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Text is messed up when I edit (https://forums.alliedmods.net/showthread.php?t=102431)

FuZ!on 09-02-2009 11:16

Text is messed up when I edit
 
1 Attachment(s)
I am trying to edit version 4.0 of American Football mod but everytime I make the smallest little change, they text gets all out of whack. This is what I tried to do.

Since I don't have the old model anymore and only the new model for the 5.0 version, I have tried to precache it.

Old Code:
PHP Code:

        engfunc(EngFunc_PrecacheModel,"models/p_football.mdl");
        
engfunc(EngFunc_PrecacheModel,"models/v_football.mdl");
        
engfunc(EngFunc_PrecacheModel,"models/w_football.mdl");
        
engfunc(EngFunc_PrecacheModel,"models/p_hands.mdl");
        
engfunc(EngFunc_PrecacheModel,"models/v_hands.mdl");
        
engfunc(EngFunc_PrecacheSound,"football/int.wav");
        
engfunc(EngFunc_PrecacheSound,"football/hut.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer1.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer2.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer3.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer4.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer5.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer6.wav");
        
engfunc(EngFunc_PrecacheSound,"football/whistle.wav"); 

New Code:
PHP Code:

        engfunc(EngFunc_PrecacheModel,"models/football/p_csflball.mdl");
        
engfunc(EngFunc_PrecacheModel,"models/football/v_csflball.mdl");
        
engfunc(EngFunc_PrecacheModel,"models/football/w_csflball.mdl");
        
engfunc(EngFunc_PrecacheModel,"models/football/p_hands.mdl");
        
engfunc(EngFunc_PrecacheModel,"models/football/v_hands.mdl");
        
engfunc(EngFunc_PrecacheSound,"football/int.wav");
        
engfunc(EngFunc_PrecacheSound,"football/hut.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer1.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer2.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer3.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer4.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer5.wav");
        
engfunc(EngFunc_PrecacheSound,"football/cheer6.wav");
        
engfunc(EngFunc_PrecacheSound,"football/whistle.wav"); 

All of the folders are right and the server switches maps like it's supposed to. The models are changed and everything, but when I do this, the text gets all out of whack. Look at the screen shot.

[IMG]http://img143.**************/img143/32/messeduptext.jpg[/IMG]

It's supposed to say "A game will start once there are is a player on each team. If you need help, type /help in chat."

I have attached the .sma with not edits. (The one he gives out in his post with 5.0) Any help? I also want to make the QB have no slow down if anybody wants to help with that too.

I have not tested this .sma with out the edits due to the fact that I have none of the required models and he does not supply them anymore.


All times are GMT -4. The time now is 15:05.

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