Need little help. +Rep to helper.
#1

I want when player choose class (team) he can see only he's team in the map (markers) and names (name tags).

Edit because my bad english: When a player selects a team, he can only see his teammates on the map, and only the names of his teammates.

my code:

PHP код:
public OnPlayerRequestClass(playerid,classid)
{
switch(
classid)
{
case 
0:
{
SetPlayerTeam(playerid,******);
SetPlayerColor(playerid,******");
SetPlayerPos(playerid, ******);
SetPlayerCameraPos(playerid, ******);
SetPlayerCameraLookAt(playerid, ******);
SendClientMessage(playerid,0x2641FE00,"
******");
SendClientMessage(playerid,0x2641FE00,"
******");
SendClientMessage(playerid,0x2641FE00,"
******");
SendClientMessage(playerid,0x2641FE00,"
******");
return 1;                      
}
case 1:
{
SetPlayerTeam(playerid,******);
SetPlayerColor(playerid,******"
);
SetPlayerPos(playerid, ******);
SetPlayerCameraPos(playerid, ******);
SetPlayerCameraLookAt(playerid, ******);
SendClientMessage(playerid,0x2641FE00,"******");
SendClientMessage(playerid,0x2641FE00,"******");
SendClientMessage(playerid,0x2641FE00,"******");
SendClientMessage(playerid,0x2641FE00,"******");
return 
1;
}
}
return 
1;

Reply


Messages In This Thread
Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 13:39
Re: Need little help. +Rep to helper. - by DonaldDuck - 25.07.2017, 13:47
Re: Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 13:52
Re: Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 13:58
Re: Need little help. +Rep to helper. - by TonyII - 25.07.2017, 14:03
Re: Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 14:12
Re: Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 21:09
Re: Need little help. +Rep to helper. - by Xeon™ - 25.07.2017, 21:31
Re: Need little help. +Rep to helper. - by CheckItOut - 25.07.2017, 21:51
Re: Need little help. +Rep to helper. - by Vince - 25.07.2017, 22:10

Forum Jump:


Users browsing this thread: 1 Guest(s)