0 Members and 1 Guest are viewing this topic.
Just add this on your Playerspawn under that line [pawn]SendClientMessageToAll(COLOR_BLUE, szMsg);[/pawn]You can use whatever color you want.
[pawn]public OnPlayerSpawn(playerid,classid,teamid)/*当一个玩家开此游戏*/{new szMsg[256],plname[24]; GetPlayerName(playerid,plname,24); format(szMsg,256,"%s spawned.",plname); SendClientMessageToAll(COLOR_YELLOW,szMsg); return 1;}[/pawn] 这应该可以
Quote from: dream on February 15, 2013, 10:45:42 am[pawn]public OnPlayerSpawn(playerid,classid,teamid)/*当一个玩家开此游戏*/{new szMsg[256],plname[24]; GetPlayerName(playerid,plname,24); format(szMsg,256,"%s spawned.",plname); SendClientMessageToAll(COLOR_YELLOW,szMsg); return 1;}[/pawn] 这应该可以‘但是我要SPAWNED AS的。这东西谁不会啊。。。。
Quote from: VC[88]PD on February 15, 2013, 10:54:26 amQuote from: dream on February 15, 2013, 10:45:42 am[pawn]public OnPlayerSpawn(playerid,classid,teamid)/*当一个玩家开此游戏*/{new szMsg[256],plname[24]; GetPlayerName(playerid,plname,24); format(szMsg,256,"%s spawned.",plname); SendClientMessageToAll(COLOR_YELLOW,szMsg); return 1;}[/pawn] 这应该可以‘但是我要SPAWNED AS的。这东西谁不会啊。。。。你这只是最原始的SPAWN。。。