Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2009-07-25, 12:55


Michalec

Dokładnie.






Wiek: 30
Na forum: 6502 dni
Posty: 163
Nick w MP: []Damianos[]

Piwa: 99

Respekt: 86,6

Usu? linijk? 3 a nad linijk? 774 wi?c w 773 skasuj przecinek ;)

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-26, 17:05


Pelo

Streetball is My Job






Wiek: 32
Na forum: 6567 dni
Posty: 32

Piwa: 124

Respekt: 27,3

Ostrzeżeń: 80%
Kod:

(4613) : warning 202: number of arguments does not match definition
(4628) : warning 202: number of arguments does not match definition


Linijka 4613:
Kod:

ShowNameTags(playerid, 0);


Linijka 4628:
Kod:

ShowNameTags(playerid, 1);


Podpis


Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-26, 18:48


Michalec

Dokładnie.






Wiek: 30
Na forum: 6502 dni
Posty: 163
Nick w MP: []Damianos[]

Piwa: 99

Respekt: 86,6

Da?e? za du?o argument?w . Zr?b tak :
Kod:

ShowNameTags(1);


Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-26, 22:30


Pelo

Streetball is My Job






Wiek: 32
Na forum: 6567 dni
Posty: 32

Piwa: 124

Respekt: 27,3

Ostrzeżeń: 80%
Jeszcze jeden problem : p
Kod:

(6951) : error 010: invalid function or declaration
(6956) : error 010: invalid function or declaration


Linijki:
Kod:

if(newstate == PLAYER_STATE_DRIVER)


Kod:

return 1;


Podpis


Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-26, 22:36


The Psychol

Psychol






Wiek: 35
Na forum: 6871 dni
Posty: 2822
Nick w MP: The_Psychol

Piwa: 4390

Respekt: 324
Respekt: 324Respekt: 324Respekt: 324


   Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
Pelo, poka? wi?cej kodu co najmniej od 6945 do 6960

Podpis

And that's the bottom line 'cause The Psychol said so!

Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
fiXlly.
Wysłany: 2009-07-26, 23:05


Pelo

Streetball is My Job






Wiek: 32
Na forum: 6567 dni
Posty: 32

Piwa: 124

Respekt: 27,3

Ostrzeżeń: 80%
Kod:


forward OnPlayerStateChange(playerid, newstate, oldstate);
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if (newstate == 2 && DB[playerid] == 1) KillTimer(dbtime);
if (newstate == PLAYER_STATE_ONFOOT && DB[playerid] == 1) AntiDriveBy(playerid);
return 1;
}
forward AntiDriveBy(playerid);
public AntiDriveBy(playerid)
{
GivePlayerWeapon(playerid,weap,bull);
DB[playerid] = 0;
return 1;
}
//==============================================================================
if(newstate == PLAYER_STATE_DRIVER)
{
format(str, sizeof(str), "%s", GetVehicleName(GetPlayerVehicleID(playerid)));
GameTextForPlayer(playerid, str, 5000, 1);
}
return 1;
}
stock GetVehicleName(vehicleid)
{
new tmp = GetVehicleModel(vehicleid) - 400;
return nazwypojazdow[tmp];
}
//==============================================================================


Ca?y public 6936 - 6963

Podpis


Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-26, 23:15


The Psychol

Psychol






Wiek: 35
Na forum: 6871 dni
Posty: 2822
Nick w MP: The_Psychol

Piwa: 4390

Respekt: 324
Respekt: 324Respekt: 324Respekt: 324


   Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
Kod:

forward OnPlayerStateChange(playerid, newstate, oldstate);
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if (newstate == 2 && DB[playerid] == 1) KillTimer(dbtime);
if (newstate == PLAYER_STATE_ONFOOT && DB[playerid] == 1) AntiDriveBy(playerid);

//==============================================================================
if(newstate == PLAYER_STATE_DRIVER)
{
format(str, sizeof(str), "%s", GetVehicleName(GetPlayerVehicleID(playerid)));
GameTextForPlayer(playerid, str, 5000, 1);
}
return 1;
}

forward AntiDriveBy(playerid);
public AntiDriveBy(playerid)
{
GivePlayerWeapon(playerid,weap,bull);
DB[playerid] = 0;
return 1;
}

stock GetVehicleName(vehicleid)
{
new tmp = GetVehicleModel(vehicleid) - 400;
return nazwypojazdow[tmp];
}
//==============================================================================



Por?wnaj i zobacz co ?le zrobi?e?

Podpis

And that's the bottom line 'cause The Psychol said so!

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-28, 10:33


Sweet007







Wiek: 34
Na forum: 6259 dni
Posty: 14

Piwa: 17

Respekt: 50

Kod:

C:\Documents and Settings\Mateusz\Pulpit\Monster Jam Screeny\MonsterJam.pwn(242) : error 036: empty statement
C:\Documents and Settings\Mateusz\Pulpit\Monster Jam Screeny\MonsterJam.pwn(250) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.


Linijki to
Kod:


Linijka 250
}
else
}

Linijka 242

}
if (strcmp(cmdtext, "/monster.tp", true)==0 && IsPlayerAdmin(playerid)) {
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER);
}


Pomocy !

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-28, 10:54


xqz

otaku desu!






Wiek: 32
Na forum: 6503 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Sweet007, pokaz caly kod od linijki:

240 do 252

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-28, 11:24


Sweet007







Wiek: 34
Na forum: 6259 dni
Posty: 14

Piwa: 17

Respekt: 50

Ca?y Kod od 240 do 252
Kod:

}
if (strcmp(cmdtext, "/monster.tp", true)==0 && IsPlayerAdmin(playerid)) {
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER);
}
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2049.17, -124.97, 35.28);
SetVehicleZAngle(GetPlayerVehicleID(playerid),20);
SendClientMessage(playerid, 0x00FF00FF,"Witaj na Monster Jam by Sweet");
GameTextForPlayer(playerid, "~w~Witamy na Monster Jam by Sweet", 5000, 1);
}
else
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-28, 11:29


ARO_PL







Wiek: 29
Na forum: 6363 dni
Posty: 18

Piwa: 2

Respekt: 50

Ostrzeżeń: 20%
mam pewien problem z map? prosze o pomoc mam 28 warnings nie wiem co jest zle


D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(330) : warning 235: public function lacks forward declaration (symbol "PlayerLeaveGang")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(376) : warning 235: public function lacks forward declaration (symbol "getCheckpointType")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(382) : warning 235: public function lacks forward declaration (symbol "PayPlayerInArea")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(400) : warning 235: public function lacks forward declaration (symbol "TimeUpdate")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(407) : warning 235: public function lacks forward declaration (symbol "GetPlayerId")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(418) : warning 235: public function lacks forward declaration (symbol "PirateShipScoreUpdate")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(431) : warning 235: public function lacks forward declaration (symbol "GambleUpdate")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(452) : warning 235: public function lacks forward declaration (symbol "checkpointUpdate")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(477) : warning 235: public function lacks forward declaration (symbol "PropertyScoreUpdate")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(518) : warning 235: public function lacks forward declaration (symbol "SavedUpdate")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(533) : warning 235: public function lacks forward declaration (symbol "SaveData")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(582) : warning 235: public function lacks forward declaration (symbol "StatGivePlayerMoney")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(608) : warning 235: public function lacks forward declaration (symbol "SettingsExistsCheck")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(634) : warning 235: public function lacks forward declaration (symbol "LoginTimeout")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(4343) : warning 225: unreachable code
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(4590) : warning 225: unreachable code
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(7379) : warning 216: nested comment
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(7502) : warning 216: nested comment
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(8143) : warning 235: public function lacks forward declaration (symbol "SendPlayerFormattedText")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(8150) : warning 235: public function lacks forward declaration (symbol "SendAllFormattedText")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(8157) : warning 235: public function lacks forward declaration (symbol "GetDistanceBetweenPlayers")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(8169) : warning 235: public function lacks forward declaration (symbol "RaportCheater")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(8180) : warning 235: public function lacks forward declaration (symbol "SendClientMessageToAdmins")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(8190) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg22")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(8206) : warning 235: public function lacks forward declaration (symbol "KickMsg")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(8221) : warning 235: public function lacks forward declaration (symbol "BanMsg")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(8243) : warning 235: public function lacks forward declaration (symbol "isPlayerInArea")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(7630) : warning 204: symbol is assigned a value that is never used: "Ray1"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 2976 bytes
Code size: 273424 bytes
Data size: 237652 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4467 cells (17868 bytes)
Total requirements: 530436 bytes

28 Warnings.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-28, 11:46


Sweet007







Wiek: 34
Na forum: 6259 dni
Posty: 14

Piwa: 17

Respekt: 50

To prawie zawsze tak jest ARO_PL, mapa i tak przerabia si? na AMX to tylko Waringi xD

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-28, 11:53


ARO_PL







Wiek: 29
Na forum: 6363 dni
Posty: 18

Piwa: 2

Respekt: 50

Ostrzeżeń: 20%
ale przez nie nie mozna wejsc na serwer wyskakuje b??d gta.exe

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-28, 12:12


Sweet007







Wiek: 34
Na forum: 6259 dni
Posty: 14

Piwa: 17

Respekt: 50

ARO_PL,
Kod:

D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(7379) : warning 216: nested comment
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(7502) : warning 216: nested comment
tutaj komenda wchodzi jedna w druga

Kod:

D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\••• LV~SF~XL~PL™ •••.pwn(7630) : warning 204: symbol is assigned a value that is never used: "Ray1"
Ten symbol nie jest u?ywany w mapie "Ray1"

Tylko tyle Narazie moge pomoc

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-07-28, 12:30


xqz

otaku desu!






Wiek: 32
Na forum: 6503 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Sweet007,

Kod:

}
if (strcmp(cmdtext, "/monster.tp", true)==0 && IsPlayerAdmin(playerid)) {
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER);
// -----> nie mozesz zamknac if'a odrazu }
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2049.17, -124.97, 35.28);
SetVehicleZAngle(GetPlayerVehicleID(playerid),20);
SendClientMessage(playerid, 0x00FF00FF,"Witaj na Monster Jam by Sweet");
GameTextForPlayer(playerid, "~w~Witamy na Monster Jam by Sweet", 5000, 1);
}
else
}


Ostatnio zmieniony przez xqz 2009-07-29, 11:27, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » BŁĘDY PRZY KOMPILACJI - ROZWIĄZANIE Odpowiedz do tematu

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
Dodaj temat do Ulubionych
Wersja do druku