How to highlight text?
#3

First read 'https://sampwiki.blast.hk/wiki/Main_Page'

PHP код:
//Top
new Float:RandomSpawns[4][3] = {
{
X,Y,Z},//Replace with your Spawn 1 Coords
{X,Y,Z},//Replace with your Spawn 2 Coords
{X,Y,Z},//Replace with your Spawn 3 Coords
{X,Y,Z//Replace with your Spawn 4 Coords
};
//Command or what ever
new rand random(3);
SetPlayerPos(playerid,RandomSpawns[rand][0],RandomSpawns[rand][1],RandomSpawns[rand][2]);
public 
OnGameModeInit()
{
    
SetGameModeText("Blank Script");
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000);//Civillian (classid = 0)
    
AddPlayerClass(2871958.37831343.157215.3746269.1425000000);//Cop (classid = 1)
    
return 1;
}
public 
OnPlayerRequestClass(playeridclassid)
{
    if(
classid == 0)
    {
        
GameTextForPlayer(playerid,"~r~Civillian",1000,3);
    }
    if(
classid == 1)
    {
        
GameTextForPlayer(playerid,"~b~Cop",1000,3);
    }
    return 
1;

Reply


Messages In This Thread
How to highlight text? - by GunZ75 - 29.09.2014, 20:00
Re: How to highlight text? - by GunZ75 - 29.09.2014, 20:17
Re: How to highlight text? - by Kane_Phoenix - 29.09.2014, 20:38

Forum Jump:


Users browsing this thread: 2 Guest(s)