why wont this work??? no force skin script
Posted: Wed May 21, 2003 1:00 pm
Hi there,
found this srcript on the map script tank..
it was thread in prespawn and works when i am alone on the game...
tried to make a trigger_multiple for it and add it to our dedicated server ... works for the first person to run threw ... but wont reset ..
if i thread it in prespawn it wont work at all..
here is the origianl as written in the tank..
no_force_models:
thread debugtext "THREAD no_force_models:"
local.fm = getcvar ("cg_forcemodel")
thread debugtext " cg_force_models = " local.fm
while (1)
{
local.fm = getcvar ("cg_forcemodel")
if (local.fm != "0")
{
thread debugtext " CHEATER !!!! Reset cg_forcemodel to 0 CHEATER !!!"
iprintlnbold ("CHEATER Has been spotted, had force models on !!!")
setcvar "cg_forcemodel" "0"
}
wait 1
}
thread debugtext "ENDTHREAD no_force_models:"
end
for my trigger i added to this script.
local.fm = parm.other
this works if i run threw .. but wont work again if i reset my force or have another player run threw ...
help anyone???
found this srcript on the map script tank..
it was thread in prespawn and works when i am alone on the game...
tried to make a trigger_multiple for it and add it to our dedicated server ... works for the first person to run threw ... but wont reset ..
if i thread it in prespawn it wont work at all..
here is the origianl as written in the tank..
no_force_models:
thread debugtext "THREAD no_force_models:"
local.fm = getcvar ("cg_forcemodel")
thread debugtext " cg_force_models = " local.fm
while (1)
{
local.fm = getcvar ("cg_forcemodel")
if (local.fm != "0")
{
thread debugtext " CHEATER !!!! Reset cg_forcemodel to 0 CHEATER !!!"
iprintlnbold ("CHEATER Has been spotted, had force models on !!!")
setcvar "cg_forcemodel" "0"
}
wait 1
}
thread debugtext "ENDTHREAD no_force_models:"
end
for my trigger i added to this script.
local.fm = parm.other
this works if i run threw .. but wont work again if i reset my force or have another player run threw ...
help anyone???