#1

Hey guys I need that to be GameTextForPlayer

pawn Код:
//InfoTD_MSG(playerid, 4000, tmp);
Thanks alot.
Reply
#2

Quote:
Originally Posted by Dangjai
Посмотреть сообщение
Hey guys I need that to be GameTextForPlayer

pawn Код:
//InfoTD_MSG(playerid, 4000, tmp);
Thanks alot.
can you please show whole code of this?
Reply
#3

Quote:
Originally Posted by RyderX
Посмотреть сообщение
can you please show whole code of this?
Код:
TeleMSG(playerid, telename[])
{
	format(str, sizeof(str), "~>~ ~w~%s(%i) ~w~has gone to ~w~%s", pName[playerid], playerid, telename);
	TextDrawSetString(TeleTD, str);
	format(tmp, sizeof(tmp), "7[Teleport]4 %s(%i) has gone to 2%s", pName[playerid], playerid, telename);
	IRC_GroupSay(ircGroup, IRC_CHANNEL, tmp);
	switch(random(5))
	{
	    case 0: format(tmp, sizeof(tmp), "~p~~h~Welcome to ~p~%s~p~~h~!", telename);
	    case 1: format(tmp, sizeof(tmp), "~y~~h~Welcome to ~y~%s~y~~h~!", telename);
	    case 2: format(tmp, sizeof(tmp), "~b~~h~Welcome to ~b~%s~b~~h~!", telename);
	    case 3: format(tmp, sizeof(tmp), "~r~~h~~h~Welcome to ~r~%s~r~~h~!", telename);
	    case 4: format(tmp, sizeof(tmp), "~g~~h~Welcome to ~g~%s~g~~h~!", telename);
	}
	InfoTD_MSG(playerid, 4000, tmp);
	//GameTextForPlayer(playerid, 5000, 2);
	if(GetPVarInt(playerid, "TimeChanged"))
	{
Reply
#4

Quote:
Originally Posted by Dangjai
Посмотреть сообщение
Код:
TeleMSG(playerid, telename[])
{
	format(str, sizeof(str), "~>~ ~w~%s(%i) ~w~has gone to ~w~%s", pName[playerid], playerid, telename);
	TextDrawSetString(TeleTD, str);
	format(tmp, sizeof(tmp), "7[Teleport]4 %s(%i) has gone to 2%s", pName[playerid], playerid, telename);
	IRC_GroupSay(ircGroup, IRC_CHANNEL, tmp);
	switch(random(5))
	{
	    case 0: format(tmp, sizeof(tmp), "~p~~h~Welcome to ~p~%s~p~~h~!", telename);
	    case 1: format(tmp, sizeof(tmp), "~y~~h~Welcome to ~y~%s~y~~h~!", telename);
	    case 2: format(tmp, sizeof(tmp), "~b~~h~Welcome to ~b~%s~b~~h~!", telename);
	    case 3: format(tmp, sizeof(tmp), "~r~~h~~h~Welcome to ~r~%s~r~~h~!", telename);
	    case 4: format(tmp, sizeof(tmp), "~g~~h~Welcome to ~g~%s~g~~h~!", telename);
	}
	InfoTD_MSG(playerid, 4000, tmp);
	//GameTextForPlayer(playerid, 5000, 2);
	if(GetPVarInt(playerid, "TimeChanged"))
	{
PHP код:
TeleMSG(playeridtelename[])
{
    
format(strsizeof(str), "~>~ ~w~%s(%i) ~w~has gone to ~w~%s"pName[playerid], playeridtelename);
    
TextDrawSetString(TeleTDstr);
    
format(tmpsizeof(tmp), "7[Teleport]4 %s(%i) has gone to 2%s"pName[playerid], playeridtelename);
    
IRC_GroupSay(ircGroupIRC_CHANNELtmp);
    switch(
random(5))
    {
        case 
0format(tmpsizeof(tmp), "~p~~h~Welcome to ~p~%s~p~~h~!"telename);
        case 
1format(tmpsizeof(tmp), "~y~~h~Welcome to ~y~%s~y~~h~!"telename);
        case 
2format(tmpsizeof(tmp), "~b~~h~Welcome to ~b~%s~b~~h~!"telename);
        case 
3format(tmpsizeof(tmp), "~r~~h~~h~Welcome to ~r~%s~r~~h~!"telename);
        case 
4format(tmpsizeof(tmp), "~g~~h~Welcome to ~g~%s~g~~h~!"telename);
    }
    
GameTextForPlayer(playeridtmp,40006);
    if(
GetPVarInt(playerid"TimeChanged")) 
Reply
#5

thanks alot worked.
Reply
#6

Quote:
Originally Posted by Dangjai
Посмотреть сообщение
thanks alot worked.
Welcome anytime
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)