AvestX 5 Odesláno: 22. Leden, 2010 Share Odesláno: 22. Leden, 2010 čau lidi. Nevíte někdo jak bych udělal když sednu k hráči co má zaměstnání taxikář tak mu to odepíše zprávu ? no oboum a odebrat money ale to bych dokázal předem dík za help ... Link to comment Share on other sites More sharing options...
0 Guest pomocnik Odesláno: 22. Leden, 2010 Share Odesláno: 22. Leden, 2010 Vyzkoušet to můžeš jako podmínka pokud je spolujezdec, a pokud je řidič (taxi=1) stane se to a to Link to comment Share on other sites More sharing options...
0 7.Host 3 Odesláno: 22. Leden, 2010 Share Odesláno: 22. Leden, 2010 zkus OnPlayerStateChange: if(newstate == PLAYER_STATE_PASSENGER ) { if (GetVehicleModel(GetPlayerVehicleID(playerid) == 420 || GetPlayerVehicleID(playerid)) == 438) { for(new taxi=0;taxi{ if(IsPlayerConnected(taxi)) { if(IsPlayerInVehicle(taxi,GetPlayerVehicleID(playerid)) && povolani[taxi] == 8 && GetPlayerState(taxi) == 2) { SendClientMessage(taxi, COLOR_MODRA, "[Taxi] Mas zakaznika, platba nastavena na 10$ za 5 sekund."); SendClientMessage(playerid, COLOR_MODRA, "[Taxi] Nastoupil jsi do taxiku, platba je 10$ za 5 sekund."); } } } } } vytáhnul jsem to ze svýho starýho modu Link to comment Share on other sites More sharing options...
0 AvestX 5 Odesláno: 22. Leden, 2010 Author Share Odesláno: 22. Leden, 2010 zkusOnPlayerStateChange: if(newstate == PLAYER_STATE_PASSENGER ) { if (GetVehicleModel(GetPlayerVehicleID(playerid) == 420 || GetPlayerVehicleID(playerid)) == 438) { for(new taxi=0;taxi{ if(IsPlayerConnected(taxi)) { if(IsPlayerInVehicle(taxi,GetPlayerVehicleID(playerid)) && povolani[taxi] == 8 && GetPlayerState(taxi) == 2) { SendClientMessage(taxi, COLOR_MODRA, "[Taxi] Mas zakaznika, platba nastavena na 10$ za 5 sekund."); SendClientMessage(playerid, COLOR_MODRA, "[Taxi] Nastoupil jsi do taxiku, platba je 10$ za 5 sekund."); } } } } } vytáhnul jsem to ze svýho starýho modu Tvího jo ? neni to z MT ale dík ... skusim cyklem for sem to nezkoušel ... Link to comment Share on other sites More sharing options...
Dotaz
AvestX 5
čau lidi.
Nevíte někdo jak bych udělal když sednu k hráči co má zaměstnání taxikář tak mu to odepíše zprávu ? no oboum a odebrat money ale to bych dokázal
předem dík za help ...
Link to comment
Share on other sites
3 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