SA-MP Forums Archive
Please Help me - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Please Help me (/showthread.php?tid=251381)



Please Help me - Bect - 26.04.2011

Sorry for my bad english .. i hope you understand me !!

I made ​​an NPC. The NPC is respawning ... why ?


Re: Please Help me - Raimis_R - 26.04.2011

Please show your script.


Re: Please Help me - Bect - 26.04.2011

Код:
if(IsPlayerNPC(playerid))
    {
        new npcname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, npcname, sizeof(npcname));
        if(!strcmp(npcname, "Guard", true))
        {
            SetPlayerSkin(playerid, 280);
            SetPlayerColor(playerid, COLOR_DBLUE);
            return 1;
        }
        return 1;
    }
This is script of public OnPlayerSpawn(playerid); ... just this i have in gamemod !
RO: Daca vorbesti romana .. zi ceva !


Re: Please Help me - Steven82 - 27.04.2011

Quote:
Originally Posted by Bect
Посмотреть сообщение
somebody ? help me ....
How about only bumping every 48 hrs, and getting out of the habit of double posting. Because they do make an edit button.