[Help] Naming the bots (NPC)
#5

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(!IsPlayerNPC(playerid)) return 0;
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname));
    new playername[64];
    GetPlayerName(playerid,playername,64);

    if(!strcmp(playername,"Boater",true)) {
        PutPlayerInVehicle(playerid, Boat, 0);
        SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
        new Text3D:boat = Create3DTextLabel("NPC_IDIOT(ID:0)",0x33AA33AA,30.0,40.0,50.0,40.0,0);
        Attach3DTextLabelToPlayer(boat, playerid, 0.0, 0.0, 0.5);
    }
I use NPC SCRIPT MADY BY FLAKE AND REDIRECT_LEFT V1CEC1TY, LOL
Reply


Messages In This Thread
[Help] Naming the bots (NPC) - by TiNcH010 - 06.07.2011, 00:59
Re: [Help] Naming the bots (NPC) - by =WoR=Varth - 06.07.2011, 01:11
Respuesta: [Help] Naming the bots (NPC) - by TiNcH010 - 06.07.2011, 01:15
Re: [Help] Naming the bots (NPC) - by =WoR=Varth - 06.07.2011, 01:18
Re: [Help] Naming the bots (NPC) - by SmileyForCheat - 06.07.2011, 01:19
Respuesta: Re: [Help] Naming the bots (NPC) - by TiNcH010 - 06.07.2011, 16:18

Forum Jump:


Users browsing this thread: 1 Guest(s)