[Ajuda] NPC
#1

Queria Fazer dois NPC apй parar Respawn civil com skin 217 ea outra com skin 211 so que nвo sei fazer me ajudem Agradeзo a todos que tentarem me ajudar
Reply
#2

para criar os npc veja esse tutorial: https://sampforum.blast.hk/showthread.php?tid=109701
pra colocar as skins nele tenta usar isso:

pawn Код:
if(IsPlayerNPC(playerid))
    {
    static Nome_Npc[24];
    GetPlayerName(playerid, Nome_Npc, sizeof(Nome_Npc));
    if(!strcmp(Nome_Npc,"Seguranca_Ricardao",true)) // Nome do npc
    {
        SetPlayerSkin(playerid,163);  // Skin
        GivePlayerWeapon(playerid,30,999);
    }
no onplayerspawn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)