Wysłany: 2008-12-21, 11:15
TNT
Ban(playerid);
Wiek: 32 Na forum: 6787 dni Posty: 145
Piwa : 1141
sebek95 , jadalej to samo a sprobuj
Kod:
if(strcmp(cmdtext, "/freedivingbase.close", true) == 0) {
{
GameTextForPlayer(playerid, "~n~Zamykanie bramy klubu Freediving", 2500, 5);
MoveObject(brama, 83.0535, -2697.4609, 5.3888, 4); //pozycja zamknietej bramy
} }}
Podpis
SupportTeam przemo.org
Wysłany: 2008-12-21, 12:27
sebek95
<[P|A|W|N]>
Wiek: 37 Na forum: 6724 dni Posty: 18
Piwa : 8
ee, to samo Zrobie od nowa komend? i zobacz?, czy jakiej? g?upoty nie wciubi?em xD
Wysłany: 2008-12-21, 12:32
-Destroyer-
Wiek: 33 Na forum: 6795 dni Posty: 21
Piwa : 5049
nie wiem o co chodzi, ale mysle, ze powinno byc tak
Kod: if(strcmp(cmdtext, "/freedivingbase.close", true) == 0) {
GameTextForPlayer(playerid, "~n~Zamykanie bramy klubu Freediving", 2500, 5);
MoveObject(brama, 83.0535, -2697.4609, 5.3888, 4); //pozycja zamknietej bramy
return 1;
}
pzdr.
Wysłany: 2008-12-21, 13:14
Robert007
Wiek: 36 Na forum: 6809 dni Posty: 223
Piwa : 11851
Cytat: warning 209: function "OnPlayerCommandText" should return a value
przed ostatnia klamra PUBLICA powinien znajdowac sie
Kod:
Wysłany: 2008-12-21, 14:38
sebek95
<[P|A|W|N]>
Wiek: 37 Na forum: 6724 dni Posty: 18
Piwa : 8
Rozwi?za?em b??d ^^
Wyci??em
Kod:
Spomi?dzy komend^^ Oczywi?cie dam piffka, za pomoc i pr?b? xD
Wysłany: 2008-12-21, 21:51
Jimmy J
suy shatan!
Wiek: 32 Na forum: 6699 dni Posty: 265
Piwa : 3264
"sebek95" napisał/a :Rozwi?za?em b??d ^^
Wyci??em
Kod:
Spomi?dzy komend^^ Oczywi?cie dam piffka, za pomoc i pr?b? xD
to przy ka?dej komendzie b?dzie wykonywa?o to co trzeba ale jeszcze poka?e si? komunikat "SERVER: Unknown Command" xD na ko?cu ka?dej komendy musi by? return 1; a na ko?cu publica OnPlayerCommandText return 0;
czyli tak przy ostatniej komendzie w mapie:
Kod:
bo inaczej b?dziesz mia? nie przyjemne komunikaty
Wysłany: 2008-12-23, 13:05
BrendY
Stalker.
Wiek: 33 Na forum: 6490 dni Posty: 48
Piwa : 2482
Kod: C:\Documents and Settings\User\Pulpit\scrip.pwn(22) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\User\Pulpit\scrip.pwn(41) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\User\Pulpit\scrip.pwn(50) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\User\Pulpit\scrip.pwn(69) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\User\Pulpit\scrip.pwn(84) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\User\Pulpit\scrip.pwn(85) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\User\Pulpit\scrip.pwn(121) : error 035: argument type mismatch (argument 2)
Oraz
Kod: C:\Documents and Settings\User\Pulpit\scrip.pwn(19) : error 025: function heading differs from prototype
Prosze Help Dam Piwko
Wysłany: 2008-12-23, 13:34
Jimmy J
suy shatan!
Wiek: 32 Na forum: 6699 dni Posty: 265
Piwa : 3264
RT00 ,
Cytat: C:\Documents and Settings\User\Pulpit\scrip.pwn(19) : error 025: function heading differs from prototype
oznacza to ?e public kt?ry napisa?e? r??ni si? od funkcji prototypowej, np. mam:
Kod: forward OnPlayerEnterVehicle(playerid, vehicleid, ispassenger);
a public zrobie taki:
Kod: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger, co?);
to wyskoczy ten error
co do reszty error?w to podaj kod
Wysłany: 2008-12-23, 13:43
BrendY
Stalker.
Wiek: 33 Na forum: 6490 dni Posty: 48
Piwa : 2482
hehe tylko niewiem co bym zle napisa? skoro linijka 19 to :
Kod: public OnPlayerCommandText(playerid, cmdtext)
Wysłany: 2008-12-23, 13:49
Jimmy J
suy shatan!
Wiek: 32 Na forum: 6699 dni Posty: 265
Piwa : 3264
powinno by? tak:
Kod: public OnPlayerCommandText(playerid, cmdtext[])
Wysłany: 2008-12-23, 22:45
DestiX
Miszczu PAWNO :D
Wiek: 31 Na forum: 6636 dni Posty: 79
Nick w MP: DestiX
Piwa : 3473
mi to wyjasnienei nei pomog?o ja mam b?edy takie jak :
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(292) : error 001: expected token: ";", but found "new"
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(561) : error 052: multi-dimensional arrays must be fully initialized
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(577) : error 052: multi-dimensional arrays must be fully initialized
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(594) : warning 201: redefinition of constant/macro (symbol "MAX_PROPERTIES")
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(605) : error 018: initialization data exceeds declared size
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(607) : error 010: invalid function or declaration
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(620) : error 018: initialization data exceeds declared size
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(633) : error 018: initialization data exceeds declared size
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(637) : warning 201: redefinition of constant/macro (symbol "MAX_WEAPONS")
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(676) : warning 201: redefinition of constant/macro (symbol "MAX_CASINO")
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(688) : warning 201: redefinition of constant/macro (symbol "MAX_GANG_MEMBERS")
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(937) : error 017: undefined symbol "COLOR_RED"
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(978) : error 017: undefined symbol "gPlayerName"
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(978) : error 029: invalid expression, assumed zero
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(978) : error 029: invalid expression, assumed zero
C:\Documents and Settings\DjGrand\Pulpit\Landgrab 9.0.pwn(978) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase
12 Errors.
POmuzcie ! gwarantowane.
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-12-23, 22:51
Robert007
Wiek: 36 Na forum: 6809 dni Posty: 223
Piwa : 11851
Kod: (292) : error 001: expected token: ";", but found "new"
w linijce wyzej zapomniales srednika ;
Kod: redefinition of constant/macro (symbol "MAX_PROPERTIES")
2 razy masz zdefiniowane poprzez define
usun jedno
reszta to podobna sytuacja co z tymi
Wysłany: 2008-12-23, 23:01
Fire Dragon
c=(b/n)%10+48,n/=10;
Wiek: 32 Na forum: 7103 dni Posty: 63
Piwa : 1046
U g?ry moda:
Kod: #define COLOR_RED 0xFF1900AA
i
Kod:
new gPlayerName[MAX_PLAYER_NAME];
Podpis
Bardzo chętnie pomagam na GG...
Wysłany: 2008-12-24, 09:53
DestiX
Miszczu PAWNO :D
Wiek: 31 Na forum: 6636 dni Posty: 79
Nick w MP: DestiX
Piwa : 3473
to jest linijka 292
new nazwypojazdow[211][32]={
"Landstalker",
"Bravura",
"Buffalo",
"Linerunner",
"Pereniel",
"Sentinel",
"Dumper",
"Firetruck",
"Trashmaster",
"Stretch",
"Manana","Infernus",
"Voodoo",
"Pony",
"Mule",
"Cheetah",
"Ambulance",
"Leviathan",
"Moonbeam",
"Esperanto",
"Taxi",
"Washington",
"Bobcat",
"Mr Whoopee",
"BF Injection",
"Hunter",
"Premier",
"Enforcer",
"Securicar",
"Banshee",
"Predator",
"Bus",
"Rhino",
"Barracks",
"Hotknife",
"Trailer",
"Previon",
"Coach",
"Cabbie",
"Stallion",
"Rumpo",
"RC Bandit",
"Romero",
"Packer",
"Monster",
"Admiral",
"Squalo",
"Seasparrow",
"Pizzaboy",
"Tram",
"Trailer",
"Turismo",
"Speeder",
"Reefer",
"Tropic",
"Flatbed",
"Yankee",
"Caddy",
"Solair",
"Berkley's RC Van",
"Skimmer",
"PCJ-600",
"Faggio",
"Freeway",
"RC Baron",
"RC Raider",
"Glendale",
"Oceanic",
"Sanchez",
"Sparrow",
"Patriot",
"Quad",
"Coastguard",
"Dinghy",
"Hermes",
"Sabre",
"Rustler",
"ZR 350",
"Walton",
"Regina",
"Comet",
"BMX",
"Burrito",
"Camper",
"Marquis",
"Baggage",
"Dozer",
"Maverick",
"News Chopper",
"Rancher",
"FBI Rancher",
"Virgo",
"Greenwood",
"Jetmax",
"Hotring",
"Sandking",
"Blista Compact",
"Police Maverick",
"Boxville",
"Benson",
"Mesa",
"RC Goblin",
"Hotring Racer",
"Hotring Racer",
"Bloodring Banger",
"Rancher",
"Super GT",
"Elegant",
"Journey",
"Bike",
"Mountain Bike",
"Beagle",
"Cropdust",
"Stunt",
"Tanker",
"RoadTrain",
"Nebula",
"Majestic",
"Buccaneer",
"Shamal",
"Hydra",
"FCR-900",
"NRG-500",
"HPV1000",
"Cement Truck",
"Tow Truck",
"Fortune",
"Cadrona",
"FBI Truck",
"Willard",
"Forklift",
"Tractor",
"Combine",
"Feltzer",
"Remington",
"Slamvan",
"Blade",
"Freight",
"Streak",
"Vortex",
"Vincent",
"Bullet",
"Clover",
"Sadler",
"Firetruck",
"Hustler",
"Intruder",
"Primo",
"Cargobob",
"Tampa",
"Sunrise",
"Merit",
"Utility",
"Nevada",
"Yosemite",
"Windsor",
"Monster",
"Monster",
"Uranus",
"Jester",
"Sultan",
"Stratum",
"Elegy",
"Raindance",
"RC Tiger",
"Flash",
"Tahoma",
"Bandito",
"Freight",
"Trailer",
"Kart",
"Mower",
"Duneride",
"Sweeper",
"Broadway",
"Tornado",
"AT-400",
"DFT-30",
"Huntley",
"Stafford",
"Newsvan",
"Tug",
"Trailer",
"Emperor",
"Wayfarer",
"Euros",
"Club",
"Trailer",
"Andromeda",
"Dodo",
"RC Cam",
"Launch",
"Police Car",
"Police Car",
"Police Car",
"Police Ranger",
"Picador",
"S.W.A.T. Van",
"Alpha",
"Phoenix",
"Glendale",
"Sadler",
"Luggage Trailer",
"Stair Trailer",
"Boxville",
"Farm Plow",
"Utility Trailer"
};
i gdzie tu mam dac srednik
Wysłany: 2008-12-24, 12:52
The Psychol
Psychol
Wiek: 35 Na forum: 6870 dni Posty: 2822
Nick w MP: The_Psychol
Piwa : 4390
Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
DjGrand , w linijce wy?ej daj ?rednik
Podpis
And that's the bottom line 'cause The Psychol said so!
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: