Raised This Month: $ Target: $400
 0% 

Adding a prefix to respawn forever by Geesu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jelly
Junior Member
Join Date: Mar 2005
Old 03-19-2005 , 16:17   Adding a prefix to respawn forever by Geesu
Reply With Quote #1

Surf maps have become highly popular in the last few months so I decided to add another prefix to his mod

Before version: http://72.21.32.242/~joshb/before.txt - .SMA

ok, So on line '47' it states the prefixs for the sv_checkpistols cvar,

Code:
		if ( containi(mapname,"ka_")!=-1 || containi(mapname,"scoutzknivez")!=-1 )
say I want to add 'surf_' to the prefix so I don't respawn with a pistol, It would be

Code:
		if ( containi(mapname,"ka_")!=-1 || containi(mapname,"scoutzknivez")!=-1  || containi(mapname,"surf_")!=-1 )
Right? No. I added it, Converted it and uploaded and it dosn't work for me.

Does anyone know the solution? Thanks in advance.

-Josh.
Jelly is offline
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 03-19-2005 , 22:10  
Reply With Quote #2

try this
Code:
if ( ( containi(mapname,"ka_") !=-1 ) || ( containi(mapname,"scoutzknivez") !=-1 ) || ( containi(mapname,"surf_") !=-1 ) )
Freecode is offline
Jelly
Junior Member
Join Date: Mar 2005
Old 03-20-2005 , 06:23  
Reply With Quote #3

I just tried it and it didn't work .

Incase you were wondering here's what the code looks like:

http://72.21.32.242/~joshb/respawn.sma
Jelly is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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