21.10.2009, 18:31
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; }