Psychedelic 13 Odesláno: 2. Duben, 2009 Share Odesláno: 2. Duben, 2009 Dalo by se udělat auto aby do něj mohl nasednout jen admin?Chtěl bych infernus ale nwm jak na to udělal by tu někdo TUT? Link to comment Share on other sites More sharing options...
Mattsy 29 Odesláno: 2. Duben, 2009 Share Odesláno: 2. Duben, 2009 new adminauto; adminauto = AddStaticVehicle(411,.......); a do OnPlayerEnterVehicle if(!IsPlayerAdmin(playerid) { TogglePlayerControllable(playerid, 0); TogglePlayerControllable(playerid, 1); SendClientMessage(playerid,COLOR_***,"Nesi RCON Admin ty k***t skurweny"); } Link to comment Share on other sites More sharing options...
Psychedelic 13 Odesláno: 2. Duben, 2009 Author Share Odesláno: 2. Duben, 2009 mělo by to vypadat takhle? #include //include pro to nejzákadnější #include //nějaký hemzi o sořadnicích //pragmy #pragma tabsize 0 //aby to nepsalo loose identition //barvy #define BARVA_BÍLÁ 0xFFFFFFAA //toto je nadefinovaná barva bílá s informacemi jak bude vypadat 0xFFFFFFAA //newy new adminauto; adminauto = AddStaticVehicle(411,.......); public OnPlayerEnterVehicle if(!IsPlayerAdmin(playerid) { TogglePlayerControllable(playerid, 0); TogglePlayerControllable(playerid, 1); SendClientMessage(playerid,COLOR_BÍLÁ,"Toto vozidlo je jen pro admini /admins"); } Link to comment Share on other sites More sharing options...
Mattsy 29 Odesláno: 2. Duben, 2009 Share Odesláno: 2. Duben, 2009 rofl ty si to nerob takto ako ja robim ale robim si to priamo uz do hotovych publicov v pawne mg a ak mas to ceske pawno tak si stihani normalne Link to comment Share on other sites More sharing options...
Psychedelic 13 Odesláno: 2. Duben, 2009 Author Share Odesláno: 2. Duben, 2009 Dopadlo to takhle C:\DOCUME~1\PATRIK~1.MSH\Plocha\GTA\HedShy.pwn(9) : error 010: invalid function or declaration C:\DOCUME~1\PATRIK~1.MSH\Plocha\GTA\HedShy.pwn(11) : error 001: expected token: ";", but found "if" C:\DOCUME~1\PATRIK~1.MSH\Plocha\GTA\HedShy.pwn(17) : warning 203: symbol is never used: "adminauto" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors. Link to comment Share on other sites More sharing options...
Mattsy 29 Odesláno: 2. Duben, 2009 Share Odesláno: 2. Duben, 2009 ved sa nedivim ked to mas uplne do bludu Link to comment Share on other sites More sharing options...
Psychedelic 13 Odesláno: 2. Duben, 2009 Author Share Odesláno: 2. Duben, 2009 Tak my napiš jak to má vypadat pls já jsem uplnej debi* Link to comment Share on other sites More sharing options...
Mattsy 29 Odesláno: 2. Duben, 2009 Share Odesláno: 2. Duben, 2009 ee lebo aj deb*l vie kde sa davaju auta a ze ked sy vytvara mod/script tak sa nevytvaraju publici ktore su uz definovane Link to comment Share on other sites More sharing options...
Guest ShErRy [HeAd_Sh0t] Odesláno: 2. Duben, 2009 Share Odesláno: 2. Duben, 2009 ja davama uta do OnGameModeInt Link to comment Share on other sites More sharing options...
FreeWall 3 Odesláno: 3. Duben, 2009 Share Odesláno: 3. Duben, 2009 za 1. nechybí ti tu něco ? if(!IsPlayerAdmin(playerid)){ za 2. stačí pouze jedna funkce: TogglePlayerControllable(playerid, 1); 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