09.06.2010, 17:47
I am going to put all my textdraws in a filterscript. Now i have a gamemode which i want to be calling these textdraws,
How can i do this?
How can i do this?

//Some function that is called when the time is up
WinTeam = 1; // or some other var to make clear what team has won
CallRemoteFunction("OnRoundEnd", "%d", WinTeam);
forward OnRoundEnd(amt);
public OnRoundEnd(amt)
{
if(amt == 1)
{
// Show the textdraw for when team 1 wins here
}
else if(amt ==2)
{
//Show the textdraw for when team 2 wins here
}
return 1;
}
|
Originally Posted by FuTuRe`
They need to be in a fs and i can call them in the gamemode, because 40% players are crashing =/
|