No Response.
#1

PHP код:
/*============================================================================//
Vehicles
//============================================================================*/
AddStaticVehicle(415,-15.2823,378.0317,12.1687,0,-1,-1);
AddStaticVehicle(522,-15.6546,367.7870,12.1687,0,-1,-1);
AddStaticVehicle(506,-15.4606,360.5143,12.1687,0,-1,-1);
AddStaticVehicle(521,-15.1874,353.8620,12.1687,0,-1,-1);
AddVehicleComponent(415,1010);
AddVehicleComponent(506,1010);
AddVehicleComponent(522,1010);// adding nitro to bike for test
AddVehicleComponent(521,1010);//Adding to bike for test
return 1;
//============================================================================//
}
public 
OnPlayerRequestClass(playeridclassid)
{
    
SetPlayerPos(playerid1958.37831343.157215.3746);
    
SetPlayerCameraPos(playerid1958.37831343.157215.3746);
    
SetPlayerCameraLookAt(playerid1958.37831343.157215.3746);
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    
GameTextForPlayer(playerid,"~g~Welcome to Sniper vs Stunters Arena",4000,4);
    
SetWeather(5);
    return 
1;
}
/*==============================================================================
Commands
==============================================================================*/
public OnPlayerCommandText(playeridcmdtext[])
{
    if (!
strcmp ("/credits"cmdtexttrue10) == 0)
    {
        
SendClientMessage(playerid,COLOR_LIGHTBLUE,"- Credits :Server Owner : .FaHaD.");
        
SendClientMessage(playerid,COLOR_LIGHTBLUE,"- MAP Created by : Ceedie.");
        return 
1;
    }
    if(!
strcmp(cmdtext"/kill"true))
    {
        
SetPlayerHealth(playerid,0);
        
SendClientMessage(playerid,COLOR_ORANGE">> SERVER: You used command /kill & Died.");
        return 
1;
    }
    if (!
strcmp ("/help"cmdtexttrue10) == 0)
    {
        
SendClientMessage(playerid,COLOR_GREEN," HELP : - Snipers,Try to kill the stunters with your weapon");
        
SendClientMessage(playerid,COLOR_SEAGREEN," - Stunters,Try to kill the snipers with the Vehicles Given. Have Fun!");
        return 
1;
     }
     return 
0;
}
public 
OnPlayerEnterVehicle(playeridvehicleidispassenger)
{
    
GameTextForPlayer(playerid,"~r~ Use ~b~ LALT ~g~ For Nitro!",4000,4);
    return 
1;
}
//============================================================================== 
The Code above,The commands & stuff dosen't seem to work but it compiles properly.

Anyone?
Reply


Messages In This Thread
No Response. - by ProBro - 10.06.2017, 23:52
Re: No Response. - by ProBro - 11.06.2017, 00:13
Re: No Response. - by saffierr - 11.06.2017, 01:20
Re: No Response. - by ProBro - 11.06.2017, 01:35
Re: No Response. - by Vince - 11.06.2017, 11:22
Re: No Response. - by Mauzen - 11.06.2017, 12:09
Re: No Response. - by ProBro - 12.06.2017, 10:21
Re: No Response. - by ProBro - 12.06.2017, 10:48
Re: No Response. - by ProBro - 12.06.2017, 11:12
Re: No Response. - by ProBro - 12.06.2017, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)