Alt-tabbing System.
#10

Quote:
Originally Posted by Rimeau
Посмотреть сообщение
Код:
//Where you create all your variables
new stringAFK[16];

public OnPlayerUpdate(playerid)
{
    format(stringAFK, sizeof(stringAFK), "[AFK] %d [AFK]", playerid);
    new Text3D:label = Create3DTextLabel(stringAFK, 0xFF0000FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
    return 1;
}
Try this.
Why would you want a global variable for something that is only happening locally?
Reply


Messages In This Thread
Alt-tabbing System. - by Bug. - 22.09.2012, 20:11
Re: Alt-tabbing System. - by Bug. - 22.09.2012, 20:19
Re: Alt-tabbing System. - by SKAzini - 22.09.2012, 20:20
Re: Alt-tabbing System. - by ikbenremco - 22.09.2012, 20:21
Re: Alt-tabbing System. - by Bug. - 22.09.2012, 20:30
Re: Alt-tabbing System. - by mamorunl - 22.09.2012, 20:48
Re: Alt-tabbing System. - by Squirrel - 22.09.2012, 22:27
Re: Alt-tabbing System. - by Bug. - 24.09.2012, 11:11
Re: Alt-tabbing System. - by Rimeau - 24.09.2012, 11:14
Re: Alt-tabbing System. - by mamorunl - 24.09.2012, 13:37

Forum Jump:


Users browsing this thread: 1 Guest(s)