06.07.2011, 18:51
pawn Код:
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new playername[64]; //Player String
GetPlayerName(playerid,playername,64); //This is to get the NPC's name
if(!strcmp(playername, "james", true))
{
SetPlayerColor(playerid,0xFFFFFFFF);
PutPlayerInVehicle(playerid, bus, 0);
}
}
return 1;
}