28.02.2011, 17:06
(
Последний раз редактировалось Dr.Ghost; 01.03.2011 в 20:26.
Причина: 3D TEXT TO PLAYER v1.0
)
pawn Код:
#include <a_samp>
#pragma tabsize 0
new Text3D:label[MAX_PLAYERS];
#define COLOR_RED 0xAA3333AA
#define COLOUR_PINK 0xFF00FFFF
OnPlayerConnect(playerid);
{
//here are is v1.0 test
new PlayerName[MAX_PLAYER_NAME];
if(!strcmp(PlayerName, "Dr.Ghost", true))
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
SetPlayerColor(playerid,COLOR_PINK);
{
label[playerid] = Create3DTextLabel("ADMINISTRATOR",0xFF00FFFF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.3);
}
if(!strcmp(PlayerName, "[FX]_HBK", true))
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
SetPlayerColor(playerid,COLOR_RED);
{
label[playerid] = Create3DTextLabel("CO_OWNER",COLOR_RED,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.3);
}
return 1;
}
//end of test
if this BUG or something wrong coding u can only make Correction.
this is just Joking .
PICTURE:
/imageshack/i/18579259.jpg/
at 2011-03-01