[Ayuda] Spawn...
#3

Quote:
Originally Posted by MrDeath537
Посмотреть сообщение
Primero va SetSpawnInfo antes que SpawnPlayer, ahora mismo voy a hacer un test y te comento editando este post.

EDIT:
A mн me estб funcionando perfecto, te dejo el test que hice:
pawn Код:
//==============================================================================

#include <a_samp>

//==============================================================================

public OnFilterScriptInit()
{
    print("\n TEST: SpawnPlayer\n");
    return 1;
}

//==============================================================================

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (!strcmp("/spawn", cmdtext, false))
    {
        SetSpawnInfo(playerid, 0, 0, 0.0, 0.0, 5.0, 0.0, 0,0, 0,0, 0,0);
        SpawnPlayer(playerid);
        return 1;
    }

    return 0;
}

//==============================================================================
con razon no me funcionaba xD, estaba arrevez .
Hay funciono, Muchas Gracias
Reply


Messages In This Thread
[Ayuda] Spawn... - by OTACON - 17.07.2012, 08:17
Re: [Ayuda] Spawn... - by MrDeath537 - 17.07.2012, 08:45
Respuesta: Re: [Ayuda] Spawn... - by OTACON - 17.07.2012, 09:00

Forum Jump:


Users browsing this thread: 1 Guest(s)