New Question..
#5

pawn Код:
public OnPlayerRequestClass( playerid, classid )
{
    new
        name[ MAX_PLAYER_NAME ]
    ;
    GetPlayerName( playerid, name, MAX_PLAYER_NAME );
    if( !strcmp( name, "john_doe", true ) ) SetSpawnInfo( playerid, 0, 299, 2495.3494, -1687.0780, 13.5152, 358.8612, 26, 36, 28, 150, 46, 1 );
    else if( !strcmp( name, "jane_does", true ) ) SetSpawnInfo( playerid, 0, 281, 2486.3142, -1647.9170, 14.0703, 182.1866, 26, 36, 28, 150, 46, 1 );
    else SetSpawnInfo( playerid, 0, 299, x, y, z, angle, 26, 36, 28, 150, 46, 1 ); // Change the coordinates
    return 1;
}
Reply


Messages In This Thread
New Question.. - by WhiteDevil - 11.11.2012, 12:47
Re: New Question.. - by Vince - 11.11.2012, 13:04
Re: New Question.. - by Abhishek. - 11.11.2012, 13:07
Re: New Question.. - by WhiteDevil - 11.11.2012, 13:13
Re: New Question.. - by Konstantinos - 11.11.2012, 13:14
Re: New Question.. - by WhiteDevil - 11.11.2012, 13:18
Re: New Question.. - by Abhishek. - 11.11.2012, 13:20
Re: New Question.. - by WhiteDevil - 11.11.2012, 13:20
Re: New Question.. - by Konstantinos - 11.11.2012, 13:24
Re: New Question.. - by WhiteDevil - 11.11.2012, 13:29

Forum Jump:


Users browsing this thread: 1 Guest(s)