Help Please | How can i make a title ? -
Le3aT - 11.11.2013
Well i just made a server and i am newbie in coding So i am asking here
My Problem:
Well i want to make a title above the character skin when you choose them I also want to colour it and what are the codes.. And how can i put it's place on the screen ETC..
Like this

I have another problem :
I Just need an ingame map editor for SA-MP 0.3x (R2)
And third and last one :
I want to edit the nickname Colour when he chooses a certain character
And Thanks
Re: Help Please | How can i make a title ? -
Loot - 11.11.2013
1) GameTextForPlayer(playerid, "Street Racer", 3000, 3);
2) First get to the stage where the script knows what skinid you're choosing.
3) When you know how to get num. 2), detect the skinid and change the playerid color SetPlayerColor(playerid, 0x20B2AAFF); // etc
Re: Help Please | How can i make a title ? -
Le3aT - 11.11.2013
Quote:
Originally Posted by Loot
1) GameTextForPlayer(playerid, "Street Racer", 3000, 3);
2) First get to the stage where the script knows what skinid you're choosing.
3) When you know how to get num. 2), detect the skinid and change the playerid color SetPlayerColor(playerid, 0x20B2AAFF); // etc
|
Can you please explain more i am newbie tho And thanks for reply
What is the stage of script and where can i add GameTextForPlayer(playerid, "Street Racer", 3000, 3);
And where can i add the Skin id in this ? SetPlayerColor(playerid, 0x20B2AAFF);
Sorry for a lot of questions but i really want to know
Re: Help Please | How can i make a title ? -
Loot - 11.11.2013
I'm not going to create that code for you, make a search at the forum about DM GameModes, and if you're lucky you might find something similar to that there.
EDIT:
Find out where you detecting the skinid
pawn Код:
if(skinid[playerid == 286) {
GameTextForPlayer(playerid, "Cop", 3000, 3);
// etc
}
And to change the color, detect what skinid he uses and set his color accordinaly:
pawn Код:
public OnPlayerSpawn(playerid)
{
if(skinid[playerid == 286) {
SetPlayerColor(playerid, 0x20B2AAFF);
// etc
}
return 1;
}
Re: Help Please | How can i make a title ? -
Raza2013 - 11.11.2013
https://sampwiki.blast.hk/wiki/GameTextForPlayer
[ We Can See You Crazy You're Using Hack ]
Re: Help Please | How can i make a title ? -
Le3aT - 11.11.2013
Quote:
Originally Posted by Raza2013
|
Lol i only use it for making server teleporting ETC..
Re: Help Please | How can i make a title ? -
Djole1337 - 11.11.2013
Quote:
Originally Posted by Le3aT
Lol i only use it for making server teleporting ETC..
|
You can use this:
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
if (IsPlayerAdmin(playerid))
{
SetPlayerPosFindZ(playerid, fX, fY, fZ);
}
return 1;
}
Re: Help Please | How can i make a title ? -
Le3aT - 11.11.2013
Quote:
Originally Posted by Djole1337
You can use this:
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { if (IsPlayerAdmin(playerid)) { SetPlayerPosFindZ(playerid, fX, fY, fZ); } return 1; }
|
Thanks a lot

you are the best
No hacks now :P
Re: Help Please | How can i make a title ? -
Le3aT - 11.11.2013
Quote:
Originally Posted by Loot
I'm not going to create that code for you, make a search at the forum about DM GameModes, and if you're lucky you might find something similar to that there.
EDIT:
Find out where you detecting the skinid
pawn Код:
if(skinid[playerid == 286) { GameTextForPlayer(playerid, "Cop", 3000, 3); // etc }
And to change the color, detect what skinid he uses and set his color accordinaly:
pawn Код:
public OnPlayerSpawn(playerid) { if(skinid[playerid == 286) { SetPlayerColor(playerid, 0x20B2AAFF); // etc } return 1; }
|
Thanks and can you tell me the ingame Mapping ?
Re: Help Please | How can i make a title ? -
Lajko1 - 11.11.2013
Use mapping programs but best one for me is MTA, search on ****** for them and uninstall hacks lol