help stock
#3

pawn Код:
stock Teleport(playerid, telename[], teleshort)
{
new string[128], playername[24];
GetPlayerName(playerid,playername);
format(string, sizeof(string), "{E6E6FA}*%s se teletransporto a %s (/%s)!", playername, telename, teleshort);
SendClientMessageToAll( -1, string ); // replace -1 by color you want
}
Quote:
Originally Posted by BroZeus
Посмотреть сообщение
for that u need to add coords of place along with its name in a enum
No he dont need it..
i mean look at his purpose he is trying to make it like Teleport(playerid,"Sanfierro", "sf"); and probably he is gonna use it in some command or otherway.
Reply


Messages In This Thread
help stock - by Snoopythekill - 24.04.2014, 04:20
Re: help stock - by BroZeus - 24.04.2014, 04:40
Re: help stock - by Niko_boy - 24.04.2014, 04:44

Forum Jump:


Users browsing this thread: 1 Guest(s)