bus system(+rep)
#9

That's what i said. Anyways you have to create a script (filterscript or in the gamemode) which makes the npc's spawn. Otherwise they won't stay in the server.

Something like this (copy from gl_npcs):

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

    if(!strcmp(playername,"NPC1",true)) {
        SetSpawnInfo(playerid,69,255,0.0,0.0,10.0,0.0,-1,-1,-1,-1,-1,-1);
    }
        return 0;
}
NOTE: The NPC check is only if you create a filterscript, you don't want your players to get ignored ofcourse!
@Above: are you serious asking for a rep+ if you didn't even help him??
Reply


Messages In This Thread
bus system(+rep) - by Chris_Morrison - 29.07.2012, 16:04
Re: bus system(+rep) - by MegadreamsBE - 29.07.2012, 16:08
Re : bus system(+rep) - by BigBaws - 29.07.2012, 16:12
Re: bus system(+rep) - by TheDeath - 29.07.2012, 16:15
Re: Re : bus system(+rep) - by Chris_Morrison - 29.07.2012, 16:16
Re: bus system(+rep) - by MegadreamsBE - 29.07.2012, 16:20
Re: bus system(+rep) - by Chris_Morrison - 29.07.2012, 16:21
Re: bus system(+rep) - by [MK]Man_Deep - 29.07.2012, 16:24
Re: bus system(+rep) - by MegadreamsBE - 29.07.2012, 16:25
Re : Re: bus system(+rep) - by BigBaws - 29.07.2012, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)