OnPlayerRequestClass help
#1

i need help, im making a cops and robbers server and when the player is scimming though the characters, i want the text of what the actual character is shown up... like "cops" or "civilian", then if the player chooses the cop their color needs to be blue, and anything else the color needs to be white.

thx for anyone who can help!
Reply
#2

use teams :>
Reply
#3

idk how :P
Reply
#4

well, it could actually be interesting with text for each player class, ive been lookin for taht. but if u wanna know bout tah teams, look in sum gamemodes [SFTDM could be a good example] or read tah samp wiki :>
Reply
#5

pawn Код:
if(classid == 0)
{
 GameTextForPlayer(playerid, "~g~texthere", 5000, 5);
}
if(classid == 1)
{
 GameTextForPlayer(playerid, "~g~texthere", 5000, 5);
}
//and so on
Reply
#6

Quote:
Originally Posted by [RPr
Icy_Cold ]
pawn Код:
if(classid == 0)
{
 GameTextForPlayer(playerid, "~g~texthere", 5000, 5);
}
if(classid == 1)
{
 GameTextForPlayer(playerid, "~g~texthere", 5000, 5);
}
//and so on
where should i add taht? :>
Reply
#7

Under the OnPlayerRequestClass public...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)