Help Please | How can i make a title ?
#1

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
Reply
#2

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
Reply
#3

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
Reply
#4

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;
}
Reply
#5

https://sampwiki.blast.hk/wiki/GameTextForPlayer
[ We Can See You Crazy You're Using Hack ]
Reply
#6

Quote:
Originally Posted by Raza2013
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/GameTextForPlayer
[ We Can See You Crazy You're Using Hack ]
Lol i only use it for making server teleporting ETC..
Reply
#7

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;
}
Reply
#8

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
Reply
#9

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 ?
Reply
#10

Use mapping programs but best one for me is MTA, search on ****** for them and uninstall hacks lol
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)