Wysłany: 2008-02-25, 19:44
Pr0f3ssi0n4LisT
Wiek: 25 Na forum: 6846 dni Posty: 120
Piwa : 3653
A nie czasem tak?
Kod: SetPlayerHealth(playerid, 0.0);
Wysłany: 2008-02-25, 20:21
mysq
Fan Pawno
Wiek: 32 Na forum: 6723 dni Posty: 31
Piwa : 994
Kod: if (strcmp(cmdtext, "/kill", true)==0){
SetPlayerHealth(playerid,-9999);
SendClientMessage(playerid, 0xFFFFFFAA, "Zabi?e? si?");
return 1;
}
return 0;
}
Je?li ta komeda jest nie ostatnia to bez
Cytat:
Wysłany: 2008-02-26, 19:16
uznanski1
Wiek: 41 Na forum: 6706 dni Posty: 9
Piwa : 1688
A je?li Pawno si? wy??cza podczas kompilacji?
MAM Net.Frameworki wszystkie i tak jak trzeba
Podpis
www.bayside-rp.pl
BIG BROTHER RP
FAST RP
CENTRAL RP
to teraz jeden Bayside RP! Zapraszam!
Wysłany: 2008-02-27, 18:07
Shaun
Młodszy Programer
Wiek: 32 Na forum: 6894 dni Posty: 463
Nick w MP: Shaun
Piwa : 1786
Podpis
[you]
, pomogłem ci Wystarczy jak podziękujesz
Wysłany: 2008-03-05, 16:34
arek1995
aka Artexx
Wiek: 30 Na forum: 6913 dni Posty: 63
Nick w MP: Artexx
Piwa : 241
mam b??d 202 co mam zrobi?
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-03-06, 09:35
Tomko
Pogromca neo kids
Wiek: 35 Na forum: 6951 dni Posty: 147
Piwa : 764
arek1995 , funkcja r??ni si? od tej zdefiniowanej w edytorze, zazwyczaj chodzi o przecinki, np. zrobi? co? takiego:
Kod: ChangeVehicleColor(vehicleid, 20);
i w tym momencie pojawi si? ten b??d, poprawnie funkcja ma wygl?da? tak
Cytat: ChangeVehicleColor(vehicleid, kolor1, kolor2);
to jest tylko przyk?ad, ?eby? zrozumia? o co chodzi, rozwi?zanie b??du - znajd? po prawej stronie na spisie funkcji nazw? funkcji kt?r? chcesz wykorzysta? i kliknij na ni?. Na samym dole, na pasku, zobaczysz jak poprawnie ma wygl?da? funkcja kt?r? chcesz u?y?.
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-03-06, 20:40
Marian_Wacuch
Wiek: 31 Na forum: 6818 dni Posty: 9
Piwa : 2
Elo! Chc? wykasowa? dat? urodzenia przy rejestracji w GF'ie. Jako? Mi nie wychodzi (xd) i mam teraz takie b??dy :
(26440) : error 029: invalid expression, assumed zero
(26440) : warning 215: expression has no effect
(26440) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Linijki obok :
26438: if(RegistrationStep[playerid] > 0)
26439: {
26440: else if(RegistrationStep[playerid] == 1)
26441: {
26442: new idx;
Stawiam piwo! Z g?ry thx!
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-03-06, 20:53
Shaun
Młodszy Programer
Wiek: 32 Na forum: 6894 dni Posty: 463
Nick w MP: Shaun
Piwa : 1786
Spr?buj da? tak:
26438: if(RegistrationStep[playerid] > 0)
26439: }
26440: else if(RegistrationStep[playerid] == 1)
26441: {
26442: new idx;
Podpis
[you]
, pomogłem ci Wystarczy jak podziękujesz
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-03-06, 21:03
Marian_Wacuch
Wiek: 31 Na forum: 6818 dni Posty: 9
Piwa : 2
Niestety nie... Wtedy wywala mnie z Pawno. Jest ten b??d gdzie jest "Wy?lij raport" , "Nie wysy?aj"
[ Dodano : 2008-03-06, 21:16 ]
A m?g?by Mi kto? usun?? date urodzenia z rejestracji w mapce GF? Plz stawiam piwo!
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-03-08, 14:43
Damian_Wielki
Ulubieniec PAWN
Wiek: 32 Na forum: 6828 dni Posty: 14
Piwa : 304
Taki problem
Kod: C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1832) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1836) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1848) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1852) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1856) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1860) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1864) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1868) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1872) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1884) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1888) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1892) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1896) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1900) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1912) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1916) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1920) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1932) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(1936) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(3983) : error 004: function "CrimInRange" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(4285) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(4902) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(4979) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(5666) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(5672) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\DAMIAN\Pulpit\LSRP.pwn(5678) : error 004: function "PlayerToPoint" is not implemented
Wie kto? dlaczego ? Doda?em tylko obiekty i bram? ... [/code]
Podpis
Szczęście daje spokój.
Wysłany: 2008-03-08, 14:50
Shaun
Młodszy Programer
Wiek: 32 Na forum: 6894 dni Posty: 463
Nick w MP: Shaun
Piwa : 1786
Je?li jest ich 26, to zapomnia?e? gdzie? da? klamry
Podpis
[you]
, pomogłem ci Wystarczy jak podziękujesz
Wysłany: 2008-03-08, 15:04
Damian_Wielki
Ulubieniec PAWN
Wiek: 32 Na forum: 6828 dni Posty: 14
Piwa : 304
Ale gdzie ? Przecie? obiekty doda?em poprawnie mo?e co? w bramie. Jak Ci wy?l? link do mapy .pwn na PW do lookniesz ?
EDIT:
To pomo?e kto? ?
Podpis
Szczęście daje spokój.
Wysłany: 2008-03-09, 16:41
Silent
Wiek: 33 Na forum: 6737 dni Posty: 9
Nick w MP: Silent
Piwa : 158
Witam mam taki blad wiem co on znaczy tylko nie wiem co wstawic xD
Kod: C:\Documents and Settings\Szymon\Pulpit\samolocik.pwn(38) : error 001: expected token: "#endif", but found "-end of file-"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Wysłany: 2008-03-09, 16:43
Shaun
Młodszy Programer
Wiek: 32 Na forum: 6894 dni Posty: 463
Nick w MP: Shaun
Piwa : 1786
Wydaje mi si? ?e zapomnia?e? o #endif np. jak masz:
Kod: #if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif //<---- tego chyba tam nie masz...
Podpis
[you]
, pomogłem ci Wystarczy jak podziękujesz
Wysłany: 2008-03-13, 15:01
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6709 dni Posty: 199
Piwa : 2579
Elo
Mam ma?y problem
A oto komenda HELP POSTAWIE
Kod: #include <a_samp>
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
if(strcmp(cmdtext, "/wsadz", true) == 0 && IsPlayerAdmin(playerid))
{
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, 0xFFFFFFFF, "WPISZ: /wiezienie [ID Gracza]");
return 1;
}
giveplayerid = strval(tmp);
if(!IsPlayerConnected(giveplayerid))
{
format(string, sizeof(string), "Gracz o ID %d nie jest aktywny.", giveplayerid);
SendClientMessage(playerid, 0xFFFFFFFF, string);
return 1;
}
GetPlayerName(giveplayerid, ktos, sizeof(ktos));
GetPlayerName(playerid, ty, sizeof(ty));
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid, 189.0410,179.4513,1003.0234);
ResetPlayerWeapons(playerid);
format(string, sizeof(string), "Admin %s (ID: %d) wsadzi? ci? do pud?a!", ty,playerid);
SendClientMessage(giveplayerid, 0xFFFFFFFF, string);
format(string, sizeof(string), "Wsadzi?e? %s (ID: %d) do wi?zienia", ktos,giveplayerid);
SendClientMessage(playerid, 0xFFFFFFFF, string);
return 1;
}
strtok(const string[], &index,seperator=' ')
{
new length = strlen(string);
new offset = index;
new result[MAX_STRING];
while ((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
if ((index < length) && (string[index] == seperator))
{
index++;
}
return result;
}
A oto errory:
Kod: C:\DOCUME~1\x\Pulpit\GTA\wsadz.pwn(42) : error 017: undefined symbol "idx"
C:\DOCUME~1\x\Pulpit\GTA\wsadz.pwn(42) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\x\Pulpit\GTA\wsadz.pwn(49) : error 017: undefined symbol "giveplayerid"
C:\DOCUME~1\x\Pulpit\GTA\wsadz.pwn(50) : error 017: undefined symbol "giveplayerid"
C:\DOCUME~1\x\Pulpit\GTA\wsadz.pwn(52) : error 017: undefined symbol "string"
C:\DOCUME~1\x\Pulpit\GTA\wsadz.pwn(52) : error 017: undefined symbol "string"
C:\DOCUME~1\x\Pulpit\GTA\wsadz.pwn(52) : error 029: invalid expression, assumed zero
C:\DOCUME~1\x\Pulpit\GTA\wsadz.pwn(52) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
HELP!!
Ostatnio zmieniony przez Tomko 2008-03-13, 15:11, w całości zmieniany 2 razy
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: