Public problem
#7

PHP код:
CMD:joinevent(playerid,params[]) 

    new 
randrandom(sizeof(DMpos)); 
    if(
gPlayerLogged[playerid] == 0) return SendClientMessage(playeridCOLOR_LIGHTRED"You need to login pin."); 
    if(
PlayerInfo[playerid][pWantedLevel] != 0) return SendClientMessage(playeridCOLOR_ERROR"Nu poti participa la event deoarece ai wanted!"); 
    if(
IsPlayerConnected(playerid)) 
    { 
        new 
string[128]; 
        
PartEvent[playerid] = 1
        
SetPlayerInterior(playerid,1); 
        
SetPlayerVirtualWorld(playerid,0); 
        
SetPlayerPos(playerid,DMpos[rand][0],DMpos[rand][1],DMpos[rand][2]); 
        
SetPlayerFacingAngle(playerid,DMpos[rand][3]); 
        
SetPlayerHealth(playerid,99); 
        
GivePlayerWeaponEx(playerid,EventWeapon,500); 
        
TogglePlayerControllable(playerid,0); 
        
EventPlayers++; 
        
format(string,sizeof(string),"%d s-au inscris in event ",EventPlayers); 
        
TextDrawSetString(EventTXD,string); 
        
TextDrawHideForAll(EventTXD);
        
TextDrawShowForAll(EventTXD);
        
CountDownEventTimer SetTimer("CountDownEvent"60000false); 
         
    } 
    return 
1

D:

just a think ;O
Reply


Messages In This Thread
Public problem - by TheDarkBlade - 10.12.2016, 16:25
Re: Public problem - by Konstantinos - 10.12.2016, 16:33
Re: Public problem - by TheDarkBlade - 10.12.2016, 22:17
Re: Public problem - by OneDay - 11.12.2016, 07:32
Re: Public problem - by TheDarkBlade - 11.12.2016, 07:54
Re: Public problem - by TheDarkBlade - 11.12.2016, 15:20
Re: Public problem - by Yaa - 13.12.2016, 17:12

Forum Jump:


Users browsing this thread: 3 Guest(s)