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

Wysłany: 2008-06-06, 21:27


m4ni4k







Wiek: 33
Na forum: 6656 dni
Posty: 5

Piwa: 2

Respekt: 50

A jak naprawi? ten error? =.=
(...)sftdm.pwn(274) : error 017: undefined symbol "SetPlayerClass"

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-06, 21:28


Robert007







Wiek: 35
Na forum: 6722 dni
Posty: 223

Piwa: 11851

Respekt: 70

moze pokarz ta linijke...

Podpis
Jak sie masz
?
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-06, 21:29


m4ni4k







Wiek: 33
Na forum: 6656 dni
Posty: 5

Piwa: 2

Respekt: 50

linijka: SetPlayerClass(playerid, classid);

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-06, 21:31


Robert007







Wiek: 35
Na forum: 6722 dni
Posty: 223

Piwa: 11851

Respekt: 70

nie wiem czy to jest to ale daj na dole mapy

Kod:

SetPlayerClass(playerid,id){
SetPlayerSkin(playerid,id);
return true;
}


Podpis
Jak sie masz
?
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-06, 21:33


m4ni4k







Wiek: 33
Na forum: 6656 dni
Posty: 5

Piwa: 2

Respekt: 50

ooo dzia?a wielkie dzi?ki i :piwo: dla ciebie :P
//edit
0_o teraz nie mog? wybra? ani zmieni? teamu

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-07, 13:07


Diler

GtaO RLZ :)






Wiek: 30
Na forum: 6718 dni
Posty: 199

Piwa: 2579

Respekt: 49,8

Ostrzeżeń: 100%
Spr?buj co? takiego
Przyk?ad:
Kod:

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerClass(playerid, classid);
SetupPlayerForClassSelection(playerid);
gPlayerClass[playerid] = classid;
switch (classid) {
case 0: {
SetPlayerFacingAngle(playerid, 180.0);
SetPlayerPos(playerid,2489.2221,-1656.2525,13.3606);
SetPlayerCameraPos(playerid,2489.3806,-1661.4866,13.3359);
SetPlayerCameraLookAt(playerid,2489.2221,-1656.2525,13.3606);
GameTextForPlayer(playerid, "~g~Grove", 1000, 3);
}

i dalej tak samo tylko zamiast case 0 dajesz case 1 itd.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-07, 20:45


Jam







Wiek: 31
Na forum: 6747 dni
Posty: 38

Piwa: 936

Respekt: 50

Ostrzeżeń: 100%
Kod:

C:\DOCUME~1\Jam_xD\Desktop\PPSSSS.pwn(6382) : error 021: symbol already defined: "Drift"
C:\DOCUME~1\Jam_xD\Desktop\PPSSSS.pwn(6393) : error 021: symbol already defined: "GetPlayerPos"
C:\DOCUME~1\Jam_xD\Desktop\PPSSSS.pwn(6398) : error 010: invalid function or declaration
C:\DOCUME~1\Jam_xD\Desktop\PPSSSS.pwn(6400) : error 010: invalid function or declaration
C:\DOCUME~1\Jam_xD\Desktop\PPSSSS.pwn(6405) : error 010: invalid function or declaration

:shock: :shock: :shock: :shock: :shock:

Linijka 6382:
Kod:

public Drift(){


6393

Kod:

GetPlayerPos(g, X, Y, Z);


6398

Kod:

if(GetPlayerState(g) == PLAYER_STATE_DRIVER && IsCar(GetPlayerVehicleID(g)) && floatabs(floatsub(Angle1, Angle2)) > DRIFT_MINKAT && floatabs(floatsub(Angle1, Angle2)) < DRIFT_MAXKAT && BySpeed > DRIFT_SPEED){


6400

Kod:

if(PlayerDriftCancellation[g] > 0)KillTimer(PlayerDriftCancellation[g]);


6405

Kod:

if(DriftPointsNow[g] > 0){


i tak naprawi?em 14 eror?w ale ju? tego nie rozumiem :shock: :arrow: :piwo:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-08, 07:48


Kamil134

Po Przerwie






Wiek: 36
Na forum: 6776 dni
Posty: 15

Piwa: 1590

Respekt: 50

Ostrzeżeń: 100%
Witam mam problem jak to naprawo?

B?ad:

Kod:

C:\DOCUME~1\KAMI~1\Pulpit\MOJGF~1\gf.pwn(4128) : error 036: empty statement


Linijka:

Kod:

if(GetVehicleModel(vehicleid) != 86)


Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-08, 09:05


Diler

GtaO RLZ :)






Wiek: 30
Na forum: 6718 dni
Posty: 199

Piwa: 2579

Respekt: 49,8

Ostrzeżeń: 100%
Jak by przetlumaczyc error oznacza on: puste wyra?enie
daj tak:
na gorze: new car nast?pnie pod new car wklej to
car = GetVehicleModel(vehicleid);
a t? linijke daj tak: if (car != 86)
Powinno dzia?a? ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-09, 14:12


Patrinho







Wiek: 35
Na forum: 6796 dni
Posty: 9

Piwa: 1

Respekt: 50

mam kilka takich error?w
Kod:

C:\DOCUME~1\PAT~1\Pulpit\SF_LV~1.PWN(9715) : error 006: must be assigned to an array
i wka?dym error odpowiada temu
Kod:

giveplayerid = ReturnUser(tmp);

O co chodzi :/ ? Za pomoc piwko :)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-09, 15:58


Diler

GtaO RLZ :)






Wiek: 30
Na forum: 6718 dni
Posty: 199

Piwa: 2579

Respekt: 49,8

Ostrzeżeń: 100%
Zamiast tego daj tylko new giveplayerid; jesli gdzies uzywasz tej funkcji a tamto usu? ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-10, 18:34


D4rkDrifter







Wiek: 33
Na forum: 6599 dni
Posty: 8

Piwa: 108

Respekt: 50

Witam mam problem

Kod:

C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(317) : error 003: declaration of a local variable must appear in a compound block
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(320) : error 010: invalid function or declaration
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(322) : error 010: invalid function or declaration
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(326) : error 021: symbol already defined: "GetPlayerName"
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(330) : error 010: invalid function or declaration
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(332) : error 010: invalid function or declaration
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(334) : error 021: symbol already defined: "string"
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(335) : error 021: symbol already defined: "name"
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(340) : error 010: invalid function or declaration
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(342) : error 010: invalid function or declaration


Mo?e kto? mi pomo?e daje :piwo: a nawet 2 bo nie wiem ju? co robi?. Je?eli potrzebna jaka? linijka to piszcie.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-11, 09:19


Diler

GtaO RLZ :)






Wiek: 30
Na forum: 6718 dni
Posty: 199

Piwa: 2579

Respekt: 49,8

Ostrzeżeń: 100%
Trzeba pokaza? linijki najlepiej od 315 do 342
Ale tak na oko to pousuwaj return 1; daj na gorze new name[24];
, new string[256];

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-11, 13:37


D4rkDrifter







Wiek: 33
Na forum: 6599 dni
Posty: 8

Piwa: 108

Respekt: 50

Dobrze to ju? leci pofko a mam jeszcze pytanie co do rejestracji samochod?w bo wyskakuje mi error

Kod:

StreetD.pwn(563) : error 017: undefined symbol "idx"


A to linijka 563

Kod:

tmp = strtok(cmdtext, idx);


Help

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-06-11, 13:38


MurzYn_

Je**ć RP...






Wiek: 32
Na forum: 6634 dni
Posty: 129

Piwa: 681

Respekt: 57

D4rkDrifter, na g?rze mapki
Kod:


new idx;
;)

Podpis
''Pan Jezus wędrował wiele lat i uczył nawet samego Boga'' - :eye: ,
''dzięki napadom Niemiec na Polskę ludzie mogli podróżować do obozów koncentracyjnych'' - :huh: .
AFK do kiedyś tam.. ( nie tydź, nie 2, lecz zdeczka wiecej ) - Brak czasu.
BANNED fan •̪̀●

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