Można prosić o poprawne cars.cfg?, ponieważ te które tu jest to pokazuje inne auto jakie ma być, a po komendzie /pojazd parkuj na respie jest inne auto.
cars.cfg jest poprawne nie wiem co tobie sie dzieje
robinex12 napisał/a
Ja też bardzo prosiłbym o obiekty w PWN
Oczywiście zimne piffffko leci do Ciebie
Już napisałem wyżej co do obiektów ;D
bochenek napisał/a
czy mógł by mi ktoś wytłumaczyć jak przerobić żeby nie trzeba było czekać 5 min po śmierci?? bo ja sie nie umiem obsługiwać w pawno więc wiecie
To nie jest takie trudne jakie sie wydaje.
1. Otwierasz mape w pawno.
2. Naciskasz Ctrl+f, wpisujesz BW i usuwasz linijki
Kod:
forward KoniecBW();
______________________________________
pBw,
pSmierc,
______________________________________
PlayerInfo[playerid][pBw] = 0;
PlayerInfo[playerid][pSmierc] = 0;
______________________________________
if(PlayerInfo[playerid][pSmierc] == 1)//bw
{
SetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid] [pPos_y], PlayerInfo[playerid][pPos_z]);
SetPlayerInterior(playerid, PlayerInfo[playerid][pInt]);
TogglePlayerControllable(playerid, 0);
ApplyAnimation(playerid,"PED","FLOOR_hit",4.1,0,1,1,1,1);
SetTimerEx("unfreeze",300000,0,"d",playerid);
PlayerInfo[playerid][pSmierc] = 0;
MamFreeze[playerid] = 1;
SetTimer("KoniecBW", 300000, 0);
return 1;
}
_____________________________________________
format(var, 32, "Smierc=%d\n",PlayerInfo[playerid][pSmierc]);fwrite(hFile, var);
format(var, 32, "Bw=%d\n",PlayerInfo[playerid][pBw]);fwrite(hFile, var);
_____________________________________________
format(var, 32, "Smierc=%d\n",PlayerInfo[playerid][pSmierc]);fwrite(hFile, var);
format(var, 32, "Bw=%d\n",PlayerInfo[playerid][pBw]);fwrite(hFile, var);
_____________________________________________
if( strcmp( key , "Smierc" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSmierc] = strval( val ); }
if( strcmp( key , "Bw" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pBw] = strval( val ); }
_____________________________________________
else if(PlayerInfo[playerid][pBw] == 1)
{
SendClientMessage(playerid, COLOR_RED, " Twoja postać nie żyje. Musisz stworzyc nową");
Kick(playerid);
}
_____________________________________________
if(strcmp(cmd, "/akceptujsmierc", true) == 0)
{
if (PlayerInfo[playerid][pSmierc] == 0)
{
SendClientMessage(playerid,COLOR_GREY,"Nie masz potrzeby do użycia tej komendy");
return 1;
}
____________________________________________
if (PlayerInfo[playerid][pSmierc] == 1)
{
SendClientMessage(playerid,COLOR_RED,"Twoja postać została zabita.Nie możesz juz używać jej do gry");
PlayerInfo[playerid][pBw] = 1;
Kick(playerid);
}
}
____________________________________________
public KoniecBW()
{
new string[256];
new sendername[MAX_PLAYER_NAME];
new playerid;
SendClientMessage(playerid, COLOR_LIGHTRED, "Odzyskałeś przytomność.");
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s odzyskuje przytomność.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
3. Potem to samo ctrl+f wpisujesz smierc i usuwasz wszystkie linijki z tym zwiazane. Typu:
Kod:
PlayerInfo[playerid][pSmierc] = 0;
________________________________________
forward Smierc(playerid);
public Smierc(playerid)
{
SendClientMessage(playerid, COLOR_RED,"Zginęłeś. Odczekaj 5 Minut lub wpisz /akceptujsmierc (doprowadzi do blokady konta)");
PlayerInfo[playerid][pSmierc] = 1;
TogglePlayerControllable(playerid, 0);
GetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z]);
PlayerInfo[playerid][pInt] = GetPlayerInterior(playerid);
}
__________________________________________
Smierc(playerid);
4. Na koniec jeszcze możesz usunąć cmd /unbw bo mogą być problemy.
5. To chyba tylko tyle, jak pomogłem postaw
_________________ .::I'm Master MTA::. Ludzie płacą tyle za reklamy z odsyłaczem na forum, a na forum nawet IP serwera nie ma... Ehh... Pr0 El0 PAWNER potrafi nazwać wszysto systemem...
Oczywiście Piwko dostałeś ode mnie. Mam tylko pytanie.
Jak aktywować komendę /givemoney?
Ona jest aktywowane z tego co pamietam jest o lvl 2000. Chcesz to wyszukaj sobie komende /givemoney i zmien tam lvl 2000 na 1339 i bedzie ok.
_________________ .::I'm Master MTA::. Ludzie płacą tyle za reklamy z odsyłaczem na forum, a na forum nawet IP serwera nie ma... Ehh... Pr0 El0 PAWNER potrafi nazwać wszysto systemem...
kurde coś mi nie wychodzi z tym usuwaniem 5 min po dedzie ;/ mógł by mi ktoś to zrobić?? oczywiście leci piffko za usunięcie
[ Dodano: 2009-11-19, 12:47 ]
dobra juz to udało mi się zrobić ale teraz mi wyskakuje
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2238) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2267) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2592) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2779) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2783) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2795) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2799) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2803) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2807) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2811) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2815) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2819) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2831) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2835) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2839) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2843) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2847) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2859) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2863) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2867) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2879) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2883) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2887) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2899) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Daniel\Pulpit\RP.pwn(2903) : error 004: function "PlayerToPoint" is not implemented
kto mi zmieni żeby niet rzeba było czekać tych 5 min po dedzie?? oczywiście piwko idzie dla tego co to zrobi XD
Usunełem całe BW i dodałem nowy link do mojego pierwszego postu z mapą dla Ciebie
_________________ .::I'm Master MTA::. Ludzie płacą tyle za reklamy z odsyłaczem na forum, a na forum nawet IP serwera nie ma... Ehh... Pr0 El0 PAWNER potrafi nazwać wszysto systemem...
oczywiście piffko już postawiłem i wielkie dzięki XD
ale mam jeszcze prośbę mógł by ktoś dać dobre include albo dać mi tą mapkę w AMX?? bo ja chyba mam złe include i mam oczywiście piwko za pomoc C:\Documents and Settings\Daniel\Pulpit\do serwera SAMP\RP.pwn(9697) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Daniel\Pulpit\do serwera SAMP\RP.pwn(23281) : warning 219: local variable "carid" shadows a variable at a preceding level
C:\Documents and Settings\Daniel\Pulpit\do serwera SAMP\RP.pwn(24469) : warning 219: local variable "carid" shadows a variable at a preceding level
C:\Documents and Settings\Daniel\Pulpit\do serwera SAMP\RP.pwn(24777) : warning 219: local variable "carid" shadows a variable at a preceding level
C:\Documents and Settings\Daniel\Pulpit\do serwera SAMP\RP.pwn(24822) : warning 219: local variable "carid" shadows a variable at a preceding level
C:\Documents and Settings\Daniel\Pulpit\do serwera SAMP\RP.pwn(33631) : warning 219: local variable "carid" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
_________________ .::I'm Master MTA::. Ludzie płacą tyle za reklamy z odsyłaczem na forum, a na forum nawet IP serwera nie ma... Ehh... Pr0 El0 PAWNER potrafi nazwać wszysto systemem...
_________________ .::I'm Master MTA::. Ludzie płacą tyle za reklamy z odsyłaczem na forum, a na forum nawet IP serwera nie ma... Ehh... Pr0 El0 PAWNER potrafi nazwać wszysto systemem...
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach