24.11.2011, 15:53
(
Последний раз редактировалось Qur; 24.11.2011 в 16:44.
)
Hey.. I want that the text will be like:
Press on KEY_SPRINT to go inside..
but with 3D... and I dont have any idea how to make it..
here's an 3d example.. how should I change it?
Create3DTextLabel("/enter\nto go inside ", COLOR_YELLOW2,1207.5046,-1439.0778,13.3828+0.5,10.0, 0);
Maybe?
Create3DTextLabel(KEY_SPRINT\nto go inside ", COLOR_YELLOW2,1207.5046,-1439.0778,13.3828+0.5,10.0, 0);
Thanks for help
EDITT +++++++ what's wrong in it?::
Press on KEY_SPRINT to go inside..
but with 3D... and I dont have any idea how to make it..
here's an 3d example.. how should I change it?
Create3DTextLabel("/enter\nto go inside ", COLOR_YELLOW2,1207.5046,-1439.0778,13.3828+0.5,10.0, 0);
Maybe?
Create3DTextLabel(KEY_SPRINT\nto go inside ", COLOR_YELLOW2,1207.5046,-1439.0778,13.3828+0.5,10.0, 0);
Thanks for help
EDITT +++++++ what's wrong in it?::
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if((newkeys & (KEY_SPRINT)) == (KEY_SPRINT))
{
return OnPlayerCommandText(playerid, "/enter");
}
if((newkeys & (KEY_SPRINT)) == (KEY_SPRINT))
{
return OnPlayerCommandText(playerid, "/exit");
}
return 1;
}