Weiß jemand warum sich nicht der Mauscursor öffnet ? Zum Textdraw auswählen?
Function OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_ANALOG_UP )
{
SelectTextDraw(playerid, 0xFF4040AA);
}
//////////////////// HIER ENDET DER CODE ///////////////////////////////////////
if(newkeys == KEY_SECONDARY_ATTACK)
{
IsAtAutomat(playerid);
if(IsPlayerInRangeOfPoint(playerid,4.0,1462.4657,-1011.3002,26.8438))//LS Bank /enter
{
SetPlayerPos(playerid,1415.951171,-988.971191,1639.980224/*246.5100,108.1086,1003.2188*/);
SetPlayerInterior(playerid,1);
SetPlayerFacingAngle(playerid,358.0127);
SendClientMessage(playerid,COLOR_GREEN,"Du hast die Bank betreten");
}
else if (IsPlayerInRangeOfPoint(playerid,4.0,1415.951171,-988.971191,1639.980224/*246.5100,108.1086,1003.2188*/))//LS Bank /exit
{
SetPlayerPos(playerid,1462.4657,-1011.3002,26.8438);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid,182.0084);
SendClientMessage(playerid,COLOR_GREEN, "Du hast die Bank verlassen");
Und so weiter...
Ingame kann ich einfach keine Textdraws auswählen.. Hatte schon aus Function ein public gemacht, ändert aber nix..