Calling Timer Functions from outside the local script
#2

PHP код:
// ================= [ GM ] ================= //
forward Call();
public 
OnGameModeInit()
{
    
SetTimer("Call"5000false);
    return 
1;
}
public 
Call()
    return 
CallRemoteFunction("CreateExp""fffdd""1.0, 2.0, 3.0, 1, 5");
// ================= [ FS ] ================= //
forward CreateExp(Float:X,Float:Y,Float:Z,type,Float:diam);
public 
CreateExp(Float:X,Float:Y,Float:Z,type,Float:diam)
{
       
CreateExplosion(X,Y,Z,type,diam);
       
CreateExplosion(X+2,Y+2,Z+2,type,diam);
       
CreateExplosion(X+3,Y+3,Z+3,type,diam);

Reply


Messages In This Thread
Calling Timer Functions from outside the local script - by Ash. - 28.06.2011, 18:11
Re: Calling Timer Functions from outside the local script - by Shadoww5 - 28.06.2011, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)