[HELP]Changing colors nickname
#1

Help me please!!
Sorry, my English is bad
How to make a nickname Grove-green?
How to make a nickname Ballas-Blue?
__________________________________________________ ____________

#include <a_samp>

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}



public OnPlayerRequestClass(playerid, classid)
{ SetPlayerTeamFromClass(playerid, classid);
SetPlayerPos(playerid, 1498.0000,-889.0979,32.5204);
SetPlayerCameraPos(playerid, 1500.0000,-887.0979,32.5204);
SetPlayerCameraLookAt(playerid, 1500.0000,-887.0979,32.5204);
return 1;
}



#else


main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("13 Area New v1.0");




AddPlayerClass(105,414.3380,2533.3972,19.1484,90.0 743,24,50,0,0,0,0);
AddPlayerClass(106,414.3380,2533.3972,19.1484,90.0 743,24,50,0,0,0,0);
AddPlayerClass(107,414.3380,2533.3972,19.1484,90.0 743,24,50,0,0,0,0);//ballas

AddPlayerClass(102,252.9149,2435.8022,16.8528,294. 6829,24,50,0,0,0,0);
AddPlayerClass(103,252.9149,2435.8022,16.8528,294. 6829,24,50,0,0,0,0);
AddPlayerClass(104,252.9149,2435.8022,16.8528,294. 6829,24,50,0,0,0,0);//groove

AddStaticVehicle(490,391.5709,2533.0305,16.6718,18 1.1092,0,0); //
AddStaticVehicle(532,325.0298,2543.4299,17.7836,17 9.7280,0,0); //
AddStaticVehicle(541,293.4101,2541.0215,16.4462,18 0.2042,13,; //
AddStaticVehicle(556,411.8773,2444.6821,16.8750,35 9.6923,1,1); //
AddStaticVehicle(567,361.6294,2443.4939,16.3464,10 9.7762,99,81); //
AddStaticVehicle(411,189.4139,2464.6475,16.2071,28 0.3980,75,1); //
AddStaticVehicle(438,140.2397,2453.7715,16.4850,27 8.4771,6,76); //
AddStaticVehicle(470,194.7910,2457.4912,16.4749,30 8.6771,43,0); //
AddStaticVehicle(487,250.9616,2385.9060,16.5474,34 .6615,26,3); //
AddStaticVehicle(487,365.4688,2537.8420,16.8315,17 8.3460,26,57); //
AddStaticVehicle(521,420.7711,2545.0518,15.9340,17 7.9527,25,11; //
AddStaticVehicle(522,418.2983,2545.1702,15.9391,18 1.4771,6,25); //
AddStaticVehicle(521,238.6026,2414.8665,16.0445,31 3.1720,118,11; //
AddStaticVehicle(522,241.2191,2412.1838,16.0521,31 4.9425,3,; //
AddStaticVehicle(541,420.9216,2444.9202,16.1264,4. 0095,58,; //
AddStaticVehicle(559,390.9573,2443.8469,16.1563,35 8.2325,13,; //
AddStaticVehicle(455,401.4472,2443.2170,16.9367,35 8.4433,11,22);
AddStaticVehicle(467,501.6259,2386.3345,29.5070,14 9.2215,22,1); //
AddStaticVehicle(477,509.2094,2382.4441,29.8946,14 8.5529,92,1); //
AddStaticVehicle(541,515.7244,2379.3647,29.8361,14 9.1848,22,1); //
AddStaticVehicle(544,523.7986,2375.4365,30.4662,14 6.6902,3,1); //
AddStaticVehicle(562,530.3191,2370.0691,29.9877,14 2.1098,35,1); //
AddStaticPickup(1242, 2, 414.8851,2537.4019,19.2721); //ARMOUR
AddStaticPickup(1242, 2, 248.9650,2420.1724,16.4766); //ARMOUR






return 1;
}

public OnGameModeExit()
{
return 1;
}



public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnPlayerConnect(playerid)
{

SetPlayerPos(playerid,405.5318,2460.2097,29.5579);
SetPlayerFacingAngle(playerid,29.5579);
SetPlayerCameraPos(playerid,401.5318,2460.2097,29. 5579);
SetPlayerCameraLookAt(playerid,401.5318,2460.2097, 29.5579);
PlayerPlaySound(playerid,1300,198.3797,160.8905,10 03.0300);


return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}



public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 10) == 0)
{ SetPlayerHealth(playerid,0.0);
// Do something here
return 1;
}
return 0;
}

public OnPlayerInfoChange(playerid)
{
return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}





Reply
#2

edit please
Reply
#3

Next time use around your script.
Are you making a team deathmatch? Read here: https://sampwiki.blast.hk/wiki/PAWN_tuto...eam_deathmatch
Reply
#4

Quote:
Originally Posted by Anarkien
Next time use around your script.
Are you making a team deathmatch? Read here: https://sampwiki.blast.hk/wiki/PAWN_tuto...eam_deathmatch
Thank you already did.
Error SetPlayerTeamFromClass and SetPlayerToTeamColor
Write please, ready pwn
In this example https://sampwiki.blast.hk/wiki/PAWN_tuto...eam_deathmatch
Reply
#5

Quote:
Originally Posted by RedFaction444
Quote:
Originally Posted by Anarkien
Next time use around your script.
Are you making a team deathmatch? Read here: https://sampwiki.blast.hk/wiki/PAWN_tuto...eam_deathmatch
Thank you already did.
Error SetPlayerTeamFromClass and SetPlayerToTeamColor
Write please, ready pwn
In this example https://sampwiki.blast.hk/wiki/PAWN_tuto...eam_deathmatch
Sorry, I can't understand what you're saying or what you want.
I'm not going to write the script for you.
Check the link I gave you and try to figure out whether you can change team color nicknames, or whatever you want to do.
Reply
#6

Guys help me please
Reply
#7

Guys help me please
Reply
#8

Stop bumping, download sftdm.pwn for an example.
Reply
#9

Quote:
Originally Posted by Don Correlli
Stop bumping, download sftdm.pwn for an example.
Thank you! I make to server!!
Reply
#10

and use www.pastebin.com for Scripts
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)