22.02.2011, 20:08
I've done that, put up twice ...
the server is not detecting it, I think, because they are not performing these functions ...
pawn Код:
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new nomenpc[MAX_PLAYER_NAME];
GetPlayerName(playerid,nomenpc,sizeof(nomenpc));
if(!strcmp(nomenpc,"Motorista_Manuel",true))
{
PutPlayerInVehicle(playerid, NPC_Tram, 0);
SetSpawnInfo( playerid, 0, 43, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0 );
}
}
return 1;
}