Jump to content
  • 0

nu ma spawneaza dupa ce dau register




public OnPlayerSpawn(playerid)

    SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
    SetPlayerVirtualWorld(playerid, 0);
    SetPlayerInterior(playerid, 0);
    SetPlayerHealth(playerid, 100.0);
    SetPlayerPos(playerid, 2007.6338, 1167.8236, 10.8203);
    SetPlayerFacingAngle(playerid, 277.4187);
    return true;

gen imi arata albastru si un cap stricat

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Sterge linia SpawnPlayer(playerid);

Ca sa iti explic si ce se intampla, e simplu. De fiecaredata cand folosesti, oriunde in Gamemode functia SpawnPlayer se executa automat Callback-ul OnPlayerSpawn. Practic, daca tu treci in callback functia SpawnPlayer, o sa se creeze un loop infinit.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.