Quote:
Originally Posted by Joe Staff
Quote:
Originally Posted by [NWA
Hannes ]
Quote:
Originally Posted by Seif_
Quote:
Originally Posted by Joe Staff
Quote:
Originally Posted by dice7
Quote:
Originally Posted by Joe Staff
Quote:
Originally Posted by [NWA
Hannes ]
Hey, I have somewhere around 13 NPC's on my server, and when I join, I get ID 13 when i want id 0.
Is there any way to move the npcs so they get id 487 to 500 or something?
EDIT: It should be like a SetPlayerID(playerid, id) function
|
you can't
|
Not entirely true.
At OnGameModeInit, you can connect 50 'blank' NPCs, then connect your NPCs, then kick off the 'blank' NPCs
|
Brilliant idea, this could actually create SetPlayerID.
|
It's yours :P
|
How to connect blank npcs?
I really need this
|
pawn Код:
public OnGameModeInit() { new blanknpcamount; for(new playerid;playerid<GetMaxPlayers()-AMOUNTOFNPCS;playerid++) //Change AMOUNTOFNPCS to be the same of NPCs you plan on connecting { ConnectNPC("Jimbo","BLANK"); blanknpcamount++; } //ConnectNPCs here for(new playerid;playerid<blanknpcamount;playerid++)Kick(playerid); return 1; }
|
Please explain more in detail