Jump to content
  • 0

Paznic Bot


Madu99

Question

2 answers to this question

Recommended Posts

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;
    }

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.