18.10.2009, 13:53
Код:
if(!IsPlayerNPC(playerid)) return 0; new playername[64]; GetPlayerName(playerid,playername,64); if(!strcmp(playername,"Mike",true)) { PutPlayerInVehicle(playerid, Hunter1, 0); } else if(!strcmp(playername,"Tom",true)) { PutPlayerInVehicle(playerid, Hunter2, 0); } else if(!strcmp(playername,"Andre",true)) { PutPlayerInVehicle(playerid, Hydra1, 0); } else if(!strcmp(playername,"Johnson",true)) { PutPlayerInVehicle(playerid, Hydra2, 0); } else if(!strcmp(playername,"Anderson",true)) { PutPlayerInVehicle(playerid, Rhino1, 0); } else if(!strcmp(playername,"Mathew",true)) { PutPlayerInVehicle(playerid, Rhino2, 0); } else if(!strcmp(playername,"Davidson",true)) { PutPlayerInVehicle(playerid, Seasparrow, 0); } else if(!strcmp(playername,"Moralles",true)) { PutPlayerInVehicle(playerid, Truck, 0); } return 1;