Tanga 131 Odesláno: 30. Říjen, 2013 Share Odesláno: 30. Říjen, 2013 (upraveno) Našiel som ako niekto hladal mód, že korytnačku a píše, že tam je error dáky a že mu nevidieť auto.Tak som sa inšpiroval...Automatická verzia: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(IsPlayerAdmin(playerid)) { LinkVehicleToInterior(vehicleid,99); SetPlayerInterior(playerid,99); PutPlayerInVehicle(playerid,vehicleid,0); } return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { if(IsPlayerAdmin(playerid)) { LinkVehicleToInterior(vehicleid,0); SetPlayerInterior(playerid,0); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); SetPlayerPos(playerid,x,y,z); } return 1; } Manuálna verzia: new JeNeviditelny[MAX_PLAYERS]; public OnPlayerConnect(playerid) { JeNeviditelny[playerid] = 0; return true; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(IsPlayerAdmin(playerid)) { if((newkeys & KEY_WALK) && !(oldkeys & KEY_WALK)) { new vehicleid = GetPlayerVehicleID(playerid); if(JeNeviditelny[playerid]) { JeNeviditelny[playerid] = 0; LinkVehicleToInterior(vehicleid,0); SetPlayerInterior(playerid,0); PutPlayerInVehicle(playerid,vehicleid,0); return true; } JeNeviditelny[playerid] = 1; LinkVehicleToInterior(vehicleid,99); SetPlayerInterior(playerid,99); PutPlayerInVehicle(playerid,vehicleid,0); } } } return 1; } Nie je to testované, takže neviem či to bude fungovať.Testujte pri dva a viac hráčoch, vy to na sebe vidieť nebudete, že ste neviditeľní.V prípade testu (úspech/neúspech) napíšte SZ. Edited 30. Říjen, 2013 by Tango Link to comment Share on other sites More sharing options...
Amenadiel 286 Odesláno: 30. Říjen, 2013 Share Odesláno: 30. Říjen, 2013 a užitek? Link to comment Share on other sites More sharing options...
LORD BENDTNER 0 Odesláno: 30. Říjen, 2013 Share Odesláno: 30. Říjen, 2013 a užitek? Ziadny Link to comment Share on other sites More sharing options...
Amenadiel 286 Odesláno: 30. Říjen, 2013 Share Odesláno: 30. Říjen, 2013 Ziadny už jsem našel! Harry Potter a kouzelnej trabant! Link to comment Share on other sites More sharing options...
Tanga 131 Odesláno: 30. Říjen, 2013 Author Share Odesláno: 30. Říjen, 2013 Šak to je haluz jak fras!Môžeš efektívne povedať "admin odchádza", nastúpiť do auta a zmiznúť!!!*Ale ten kúzelný trabant je tiež dobrý nápad. Link to comment Share on other sites More sharing options...
Amenadiel 286 Odesláno: 30. Říjen, 2013 Share Odesláno: 30. Říjen, 2013 Šak to je haluz jak fras! Môžeš efektívne povedať "admin odchádza", nastúpiť do auta a zmiznúť!!! *Ale ten kúzelný trabant je tiež dobrý nápad. HARRY POTTER!!!! Link to comment Share on other sites More sharing options...
Hashiri 35 Odesláno: 30. Říjen, 2013 Share Odesláno: 30. Říjen, 2013 Podle mě je to dobrý nápad, osobně využívám něco podobného ovšem v modifikacích, když přijde nějaký "NEchytrý" hráč tak si jednoduše z něho udělat srandu vždy potěší, ovšem sledovat ho (spec) není zrovna vhodný. Nikdy mě nenapadlo něco podobného udělat, rozhodně se musí uznat že nápaditost máš Link to comment Share on other sites More sharing options...
wroxx 37 Odesláno: 30. Říjen, 2013 Share Odesláno: 30. Říjen, 2013 Ešte by som tam doplnil vypnutie nicku Link to comment Share on other sites More sharing options...
LORD BENDTNER 0 Odesláno: 30. Říjen, 2013 Share Odesláno: 30. Říjen, 2013 Aj tak ked niekto oklame aj tak bude na servery ked da tab Link to comment Share on other sites More sharing options...
Tanga 131 Odesláno: 1. Listopad, 2013 Author Share Odesláno: 1. Listopad, 2013 @Mivčo, keď nevieš kde som, je ti to nanič.Ako ma zabiješ keď som neviditeľný? -----------------------------------------------------@Wroxx a ten nick je vidieť? Skúšal si to? (Ja neviem, len sa pýtam či je to potrebné.) Link to comment Share on other sites More sharing options...
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