Guest boban888 Odesláno: 14. Srpen, 2010 Share Odesláno: 14. Srpen, 2010 ConnectNPC("[TMB]MHD_NPC","[TMB]MHD"); ConnectNPC("[TMB]Pilot_NPC","[TMB]Pilot"); AutoBota = CreateVehicle(431, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000); AutoBota = CreateVehicle(511, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000); public OnPlayerSpawn(playerid) { SetPlayerInterior(playerid, 0); if(IsPlayerNPC(playerid)) { GetPlayerName(playerid, npcname, sizeof(npcname)); if(!strcmp(npcname, "[TMB]MHD_NPC", true)) { PutPlayerInVehicle(playerid, AutoBota, 0); } } return 1; } Link to comment Share on other sites More sharing options...
0 Hamdys 0 Odesláno: 14. Srpen, 2010 Share Odesláno: 14. Srpen, 2010 Oprav si to : AutoBota = CreateVehicle(431, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000); AutoBota2 = CreateVehicle(511, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000); takze aj new AutoBota2; a prepis si ze to toho druhyho bota hodi do auta "AutoBota2" Link to comment Share on other sites More sharing options...
0 Guest boban888 Odesláno: 14. Srpen, 2010 Share Odesláno: 14. Srpen, 2010 nj ale do toho publicu ho mam ako vlozit lebo tu to tam nemam Link to comment Share on other sites More sharing options...
0 Hamdys 0 Odesláno: 14. Srpen, 2010 Share Odesláno: 14. Srpen, 2010 //GetPlayerName(playerid, npcname, sizeof(npcname)); OnPlayerSpawn: K tomu prvnimu NPC : if(!strcmp(npcname, "[TMB]Pilot_NPC", true)) { PutPlayerInVehicle(playerid, AutoBota2, 0); } Link to comment Share on other sites More sharing options...
0 Guest boban888 Odesláno: 14. Srpen, 2010 Share Odesláno: 14. Srpen, 2010 dik moc uz to ide Link to comment Share on other sites More sharing options...
0 Hamdys 0 Odesláno: 14. Srpen, 2010 Share Odesláno: 14. Srpen, 2010 NZ Link to comment Share on other sites More sharing options...
Dotaz
Guest boban888
Link to comment
Share on other sites
5 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now