Jump to content

Question

Posted

Salut cum pot adauga paznic bot pe server ma refer la un bot care se plmiba intrun anumit loc non stop si deasupra capului sai pun Un 3DText cum este pe eXtream

2 answers to this question

Recommended Posts

Posted

Trebuie sa creezi intai npc-ul si dupa la OnPlayerSpawn de exemplu bot-ul de pe severul meu:

    if(IsPlayerNPC(playerid))
    {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname));
    if (!strcmp(npcname, "numenpc", true))
    {
	    new Text3D:Silvester = Create3DTextLabel("Georgescu Alin", COLOR_GRAD2, 10.0, 20.0, 20.0, 20.0, 0);
	    Attach3DTextLabelToPlayer(numenpc, playerid, 0.0, 0.0, 0.3);
        SetPlayerSkin(playerid, 163);
        return 1;
    }
    return 1;
    }

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.