28.04.2016, 05:46
Make sure you don't try to show the login/register dialogs to it, and even if it spawned it probably spawned at coodinates 0, 0, 0.
Add something like this:
Add something like this:
Код:
public OnPlayerConnect(playerid) { if(IsPlayerNPC(playerid)) { SetPlayerPos(playerid, x, y, z); // Replace with the coordinates he should spawn at return 1; } // The rest of your code }