Wysłany: 2009-01-09, 17:13
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6804 dni Posty: 199
Piwa : 2579
Michalec , chodzi ci o bot w Poradniki do PAWN masz jak zrobi? bota tylko ?e zamiast GivePlayerMoney dajesz Kod: SendClientMessage(playerid,jakis_kolor,"tekst");
ehh znow wyprzedzony
Wysłany: 2009-01-09, 17:37
Michalec
Dokładnie.
Wiek: 30 Na forum: 6501 dni Posty: 163
Nick w MP: []Damianos[]
Piwa : 99
Yyyhhhhh
Mo?ecie poda? w calo?ci ?
czyli gdzie to wpisac i dokladnie jak??
za malo siedze w pawno ;/
bo wszystko pomieszane
[ Komentarz dodany przez: Diler : 2009-01-09, 17:44 ]
sry ale gotowca Ci nie dam...
Wiem ze jestes nowy ale jak kolega napisal wyzej to wklejasz tylko pod publicami
A ta autowiadomosc zmienic na cos czy co??
Wysłany: 2009-01-09, 17:53
Kubik
Ever ForEver
Wiek: 40 Na forum: 6454 dni Posty: 10
Piwa : 36
Cytat: symbol zdefiniowany a nie u?yty
Cytat: nie da?e? returna na ko?cu publica OnPlayerCommandText
Cytat: liczba argument?w nie pasuje do definicji np.:
zrobisz CreateObject a nie dasz wszystkich wsp??rz?dnych to wyskoczy ten warning
poka? kod
Powiedzia?e? mi tylko co oznaczaj? b??dy i za to dostaniesz a czy powiesz mi jak te problemy rozwi?za??
Za pomoc dam
Wysłany: 2009-01-09, 18:08
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6804 dni Posty: 199
Piwa : 2579
SendClientMessageToAll(COLOR_LIGHTBLUE, "text..");
pomiedzy "" wstaw swoj tekst... xD
Wysłany: 2009-01-09, 18:31
Jimmy J
suy shatan!
Wiek: 32 Na forum: 6699 dni Posty: 265
Piwa : 3264
Kubik , poka? linijki z b??dami
co do tego:
Cytat: D:\Documents and Settings\kuba\Pulpit\SA-MP Server\gamemodes\gf.pwn(26404) : warning 209: function OnPlayerCommandText should return a value
to podaj 5/10 linijek w d?? i w g?r?
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2009-01-09, 18:36
Kubik
Ever ForEver
Wiek: 40 Na forum: 6454 dni Posty: 10
Piwa : 36
Kod: public PlayerFixRadio2()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Fixr[i])
{
PlayerPlaySound(i, 1069, 0.0, 0.0, 0.0);
Fixr[i] = 0;
}
}
}
}
//---------------------------<[ OnPlayerCommandText ]>--------------------------------------------------------
public OnPlayerCommandText(playerid, cmdtext[])
{
new string[256];
new playermoney;
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new playername[MAX_PLAYER_NAME];
new cmd[256];
new tmp[256];
new giveplayerid, moneys, idx;
cmd = strtok(cmdtext, idx);
A o co chodzi z innymi b??dami?
Podpis
Pomogłem postaw
Postaw
a zobaczysz co mam w opisie ----> <----
Wysłany: 2009-01-09, 20:12
Michalec
Dokładnie.
Wiek: 30 Na forum: 6501 dni Posty: 163
Nick w MP: []Damianos[]
Piwa : 99
Zrobilem tak jak bylo napisane i jest jeden error ;/ chodzi o linijke:
SetTimer("autowiadomosc" , 60000, 1);
chodzilo o SETTIMER
dopisalem na poczatku return i wyszlo:
return SetTimer("autowiadomosc" , 60000, 1);
a blad jest taki:
C:\DOCUME~1\ADMINI~1\Pulpit\samp\NASZSE~1\SAMP02~1.WIN\Test.pwn(42) : error 010: invalid function
help ;/ dam tylko czego tak jest
reszte piw rozdalem dam wieej
Wysłany: 2009-01-09, 20:16
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6804 dni Posty: 199
Piwa : 2579
a jak wyglada caly public pokaz go
Wysłany: 2009-01-10, 13:37
Michalec
Dokładnie.
Wiek: 30 Na forum: 6501 dni Posty: 163
Nick w MP: []Damianos[]
Piwa : 99
Ju? nie wa?ne. (sry za k?opoty)
Znalazlem na takiej stronce bylo wszystko dok?adnie opisane i zrobilem . (dali mi gotowca )
Ale i tak po piwku dostaniecie za fatyge
Wysłany: 2009-01-14, 19:50
shadow_pl200
P@WNER
Wiek: 32 Na forum: 6593 dni Posty: 35
Piwa : 11
2 bledy
Kod: C:\Documents and Settings\JA\Pulpit\pawno mapy\LV 6.0\LV.PWN(3775) : error 033: array must be indexed (variable "junior")
C:\Documents and Settings\JA\Pulpit\pawno mapy\LV 6.0\LV.PWN(3780) : error 022: must be lvalue (non-constant)
linijka
Kod: 3769 if(strcmp(cmdtext, "/mod", true) == 0){
3770 new Pname[24];
3771 new juniorzy = 0;
3772 SendClientMessage(playerid,COLOR_YELLOW, "Moderatorzy Na Serverze:");
3773 for(new i=0; i<MAX_PLAYERS; i++)
3774 {
3775 if(IsPlayerConnected(i) && junior==0)
3776 {
3777 GetPlayerName(i,Pname,24);
3778 format(string,sizeof(string),"%s (ID: %d)", Pname, i);
3779 SendClientMessage(playerid,COLOR_LIGHTGREEN, string);
3780 junior++;
3781 }
3782 }
3783 if(juniorzy == 0){
3784 SendClientMessage(playerid,COLOR_WHITE, "Na Serverze Nie Ma moderatorow ONLINE!");
3785 }
3786 return 1;
3787 }
za pomoc browar
Ostatnio zmieniony przez shadow_pl200 2009-01-14, 21:09, w całości zmieniany 3 razy
Wysłany: 2009-01-15, 13:41
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6804 dni Posty: 199
Piwa : 2579
Kod: 3775 if(IsPlayerConnected(i) && junior[playerid]==0)
3780 junior[playerid]++;
Zak?adam ?e u?y?e? funkcji MAX_PLAYERS
Wysłany: 2009-01-15, 13:41
BrendY
Stalker.
Wiek: 33 Na forum: 6490 dni Posty: 48
Piwa : 2482
Ja mam jakie? dziwne Errory w Mapie
Erory
Kod: C:\Documents and Settings\User\Pulpit\lvdm.pwn(215) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(225) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(234) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(243) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(253) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(263) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(273) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(283) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(294) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(308) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(317) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(326) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(333) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(339) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(345) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(351) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(357) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(363) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(369) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(375) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(381) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(387) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\User\Pulpit\lvdm.pwn(393) : error 079: inconsistent return types (array & non-array)
Wszystkie S?
Kod:
Wysłany: 2009-01-15, 13:46
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6804 dni Posty: 199
Piwa : 2579
usun return 1; i zostaw tylko } albo masz brak klamry w kodzie
Wysłany: 2009-01-15, 18:11
DestiX
Miszczu PAWNO :D
Wiek: 31 Na forum: 6636 dni Posty: 79
Nick w MP: DestiX
Piwa : 3473
witam ja mam takie b?edy :
Kod: C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(567) : error 029: invalid expression, assumed zero
C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(593) : error 001: expected token: "}", but found "new"
C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(616) : error 052: multi-dimensional arrays must be fully initialized
C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(646) : warning 201: redefinition of constant/macro (symbol "MAX_CASINO")
C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(658) : warning 201: redefinition of constant/macro (symbol "MAX_GANG_MEMBERS")
C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(907) : error 017: undefined symbol "COLOR_RED"
C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(912) : error 017: undefined symbol "checkpointType"
C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(912) : warning 215: expression has no effect
C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(912) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(912) : error 029: invalid expression, assumed zero
C:\Documents and Settings\DjGrand\Pulpit\MAPS\Landgrab 10.0.pwn(912) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase
8 Errors.
Za pomoc daje
Wysłany: 2009-01-15, 20:57
shadow_pl200
P@WNER
Wiek: 32 Na forum: 6593 dni Posty: 35
Piwa : 11
nie wiem czy dobry temat ale mam problem przy zmienianiu z pwn na amx nie chce sie zmienic na amx pisz mi na dole lv.pwn has complied to lv.amx a gdy patrze to ten plik lv.amx ma tylko 0 kb wszytko mi sie dzieje po dodaniu takiego kodu
Kod: if (strcmp(cmdtext, "/komendy", true)==0 && junior[playerid]) {
if(junior[playerid]==1) {
SendClientMessage(playerid,COLOR_LIGHTGREEN,"/mkick - wyrzucasz danego gracza z serwera");
SendClientMessage(playerid,COLOR_LIGHTGREEN,"/marmor-all dajesz wszytkim kami");
SendClientMessage(playerid,COLOR_LIGHTGREEN,"/heal-all - uzdrawiasz kazdego");
} else SendClientMessage(playerid,kolor,"Nie jeste? Juniorem !");}
return 1;
}
i jak to dodam to na amx skomplinowac nie idzie
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: