釣堀.net
TOP
ようこそゲスト(guest)さん。
ログイン
ブログ
コンテンツ
サービス
検索
GameTextForAll
ゲーム内にいるプレイヤー全員に指定した文章を見せることができます。
(const string[], time, style)
const string[] 表示させる文字列
time 表示させる時間
style 表示させるフォント%texttype
public OnPlayerDeath(playerid, killerid, reason) { // This example shows a large, white text saying "[playerName] has // passed away" on everyone's screen, after a player has died or // has been killed. It shows in text-type 3, for 5 seconds (5000 ms) new name[ 24 ], string[ 64 ]; GetPlayerName( playerid, name, 24 ); // Format the passed-away message properly, and show it to everyone! format( string, sizeof(string), "~w~%s has passed away", name ); GameTextForAll( string, 5000, 3 ); return 1; }
GameTextForPlayer,TextDrawCreate
sampに関するコンテンツはこちら。
Copyright (c) 2004 釣堀.net All rights reserved.
プライバシーポリシー
5109199/02174/02589
0秒