simplifying
#1

just wondring is there any way to simplify this


Code:
	dcmd_drift(playerid, params[])
	{
		new pName[MAX_PLAYER_NAME];
		new tString[128];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
		SetPlayerPos(playerid,-307.062805,1538.853515,78.099159);
		format(tString, sizeof(tString), "(News) %s has teleport to drift do /drift to join",pName);
 		SendClientMessageToAll(COLOR_DARKGREEN, tString);
		GameTextForPlayer(playerid,"Welcome to drift",2500,3);
		#pragma unused params
		return 1;
  }
Reply


Messages In This Thread
simplifying - by [HKS]dlegend - 21.10.2009, 18:31
Re: simplifying - by saiberfun - 21.10.2009, 18:51
Re: simplifying - by [HKS]dlegend - 21.10.2009, 18:53
Re: simplifying - by yom - 21.10.2009, 19:17
Re: simplifying - by [HKS]dlegend - 21.10.2009, 19:26
Re: simplifying - by Correlli - 21.10.2009, 19:30
Re: simplifying - by [HKS]dlegend - 21.10.2009, 19:32

Forum Jump:


Users browsing this thread: 6 Guest(s)