gabbii
-
Posts
150 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by gabbii
-
-
Nu imi incarca masinile:|, ce pot face ca sa le incarce?
-
stie cineva?
-
1: Dc ai facut dublu topic?
2: nu puteai sa dai replay in celalant topic?
3: mai cauta prin gm "NameTimer", mai este definita undeva sub alta forma!
-
C:\Users\Daniel.Daniel-PC\Desktop\R2P-0.3d for wWw.SA-MP.Ro\gamemodes\R2P.pwn(13445) : warning 204: symbol is assigned a value that is never used: "money"
C:\Users\Daniel.Daniel-PC\Desktop\R2P-0.3d for wWw.SA-MP.Ro\gamemodes\R2P.pwn(55751) : error 021: symbol already defined: "NameTimer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Cum vrei sa fi ajutat daca nu arati linile?
-
Am luat acest fs cu radio dp http://forum.sa-mp.com/showthread.php?t=279953
am bagat posturile de radio pe care le vreau dar imi da eroare, ce pot face?
uitati eroare
C:\Users\Asus\Desktop\FSOnline_Radio_In_Vehicles\0.3d Streaming\radio_eng.pwn(112) : error 032: array index out of bounds (variable "StationText") Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
uitati tot scriptul..
[pawn]#include <a_samp>
#undef MAX_PLAYERS
#define MAX_PLAYERS 25
forward PlayVehicleRadioForPlayer(playerid,online);
forward NonChangeRadio(playerid);
forward IsAVel(vehicleid);
forward HideStationTitle(playerid,numberid);
new VehRadio[MAX_VEHICLES];
new PassengerInCar[MAX_VEHICLES][8];
new bool:WaitForBuf[MAX_PLAYERS];
new PassengerSeat[MAX_PLAYERS];
new OldCar[MAX_PLAYERS];
enum params
{
Float:X,Float:Y,Title[64],URL[64]
};
new RadioParams[7][params] = {
{205.0,20.0,"Kiss FM: Asculti doar hituri!","http://ro-life.tk/music/radio/kissfm.m3u"}, // 1
{200.0,20.0,"Radio21 FM: Hit dupa Hit","http://ro-life.tk/music/radio/Radio21.m3u"}, //2
{220.0,20.0,"Europa FM: Cea mai buna muzica din 8 pana azi!","http://ro-life.tk/music/radio/europafm.m3u"}, //3
{260.0,20.0,"Pro FM: Lega lize JOY","http://ro-life.tk/music/radio/profm.m3u"}, //4
{205.0,20.0,"RadioZu FM: Hiturile se asculta la Zu","http://ro-life.tk/music/radio/radiozu.m3u"}, //5
{235.0,20.0,"Vibe FM: DanceFloor radio","http://ro-life.tk/music/radio/vibefm.pls"}, // 6
{270.0,20.0,"Radio Off","none"} //7
};
new Text:StationText[7];
public OnFilterScriptInit()
{
print("----------------------------------");
print("FS Online Radio In Vehicles Loaded");
print("Author: SDraw");
print("----------------------------------");
for(new i = 0; i < MAX_VEHICLES; i++)
{
VehRadio = 2;
for(new s = 1; s < 8; s++) PassengerInCar = INVALID_PLAYER_ID;
}
for(new t = 0; t < sizeof(StationText); t++)
{
StationText[t] = TextDrawCreate(RadioParams[t][X],RadioParams[t][Y],RadioParams[t][Title]);
TextDrawAlignment(StationText[t],0);
TextDrawBackgroundColor(StationText[t],0x000000ff);
TextDrawFont(StationText[t],2);
TextDrawLetterSize(StationText[t],0.4,1.6);
TextDrawColor(StationText[t],0x906010ff);
TextDrawSetOutline(StationText[t],1);
TextDrawSetProportional(StationText[t],2);
TextDrawSetShadow(StationText[t],1);
}
return 1;
}
public OnFilterScriptExit()
{
for(new t = 0; t < sizeof(StationText); t++) TextDrawDestroy(StationText[t]);
return 1;
}
public OnPlayerConnect(playerid)
{
WaitForBuf[playerid] = false;
OldCar[playerid] = INVALID_VEHICLE_ID;
PassengerSeat[playerid] = 0;
return 0;
}
public OnPlayerDisconnect(playerid)
{
if(OldCar[playerid] != INVALID_VEHICLE_ID) PassengerInCar[OldCar[playerid]][PassengerSeat[playerid]] = INVALID_PLAYER_ID;
return 0;
}
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
new veh = GetPlayerVehicleID(playerid);
if(IsAVel(veh)) return 0;
new seat = GetPlayerVehicleSeat(playerid);
if(seat != 0)
{
PassengerInCar[veh][seat] = playerid;
PassengerSeat[playerid] = seat;
OldCar[playerid] = veh;
}
PlayVehicleRadioForPlayer(playerid,VehRadio[veh]);
}
if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
{
new veh = GetPlayerVehicleID(playerid);
if(IsAVel(veh)) return 0;
StopAudioStreamForPlayer(playerid);
if(OldCar[playerid] != INVALID_VEHICLE_ID)
{
PassengerInCar[OldCar[playerid]][PassengerSeat[playerid]] = INVALID_PLAYER_ID;
OldCar[playerid] = INVALID_VEHICLE_ID;
}
}
return 0;
}
public PlayVehicleRadioForPlayer(playerid,online)
{
if(online == 0)
{
StopAudioStreamForPlayer(playerid);
TextDrawShowForPlayer(playerid,StationText[7]);
WaitForBuf[playerid] = true;
SetTimerEx("NonChangeRadio",5000,false,"i",playerid);
SetTimerEx("HideStationTitle",3500,false,"id",playerid,16);
return 1;
}
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid,RadioParams[online - 1]);
TextDrawShowForPlayer(playerid,StationText[online - 1]);
SetTimerEx("NonChangeRadio",5000,false,"i",playerid);
SetTimerEx("HideStationTitle",3500,false,"id",playerid,online - 1);
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
if(!IsPlayerInAnyVehicle(playerid)) return 0;
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return 0;
new veh = GetPlayerVehicleID(playerid);
if(VehRadio[veh] == 7) VehRadio[veh] = 0;
PlayVehicleRadioForPlayer(playerid,VehRadio[veh]);
if(PassengerInCar[veh] != INVALID_PLAYER_ID) PlayVehicleRadioForPlayer(PassengerInCar[veh],VehRadio[veh]);
if(!IsPlayerInAnyVehicle(playerid)) return 0;
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return 0;
new veh = GetPlayerVehicleID(playerid);
if(VehRadio[veh] == -1) VehRadio[veh] = 16;
PlayVehicleRadioForPlayer(playerid,VehRadio[veh]);
if(PassengerInCar[veh] != INVALID_PLAYER_ID) PlayVehicleRadioForPlayer(PassengerInCar[veh],VehRadio[veh]);
public NonChangeRadio(playerid) return WaitForBuf[playerid] = false;
new model = GetVehicleModel(vehicleid);
if(model == 481 || model == 509 || model == 510) return 1;
[pawn]TextDrawShowForPlayer(playerid,StationText[7]);[/pawn]
-
mai ai definita undeva NameTimer! sterge una din ele...
-
serverul il ti pe pc-ul tau?
-
tu vrei aia cu player online sau aia cu bun venit?? daca nu explica exact ce vrei de acolo!
-
NPc:X
-
incearca asta ....
[pawn] public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(GetPlayerVehicleID(playerid) == mura)
{
new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
if(strcmp(sendername,"mura",true))
{
GetPlayerName(playa, giveplayer, sizeof(giveplayer));
TogglePlayerControllable(playa, 1);
SendClientMessage(playerid,0xFF0000FF,"Nu esti proprietar!");
RemovePlayerFromVehicle(playerid);
}
} [/pawn]
-
poate ai gresti altundeva si iti da warning la masini mai uitate odata peste factiunea ce noua...Da am pus.
-
Leam folosit si tot asa da dupa modelul lui ICI.
ai pus asa la inceputul ?
[pawn] new STR1;
new STR2;
new STR3;
new STR4;
new STR5;
new STR6;
new STR7;
new STR8;
new STR9;[/pawn]
-
Imi da warningurile astea:
C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(10016) : warning 202: number of arguments does not match definition C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(10017) : warning 202: number of arguments does not match definition C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(10018) : warning 202: number of arguments does not match definition C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(10019) : warning 202: number of arguments does not match definition C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(10020) : warning 202: number of arguments does not match definition C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(10021) : warning 202: number of arguments does not match definition C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(10022) : warning 202: number of arguments does not match definition C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(10023) : warning 202: number of arguments does not match definition C:\Documents and Settings\BogdaneL\My Documents\Downloads\GameSpeed\gamemodes\GameSpeed.pwn(10024) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 10300 bytes Code size: 1637968 bytes Data size: 5872992 bytes Stack/heap size: 16384 bytes; estimated max. usage=4123 cells (16492 bytes) Total requirements: 7537644 bytes 9 Warnings.
foloseste toate coordonatele
exemplu:
[pawn]police1 = AddStaticVehicleEx(599, 616.1244, -601.7048, 17.4214, 271.5325, -1, -1, 30000);[/pawn]
-
Aratane linile.... daca vrei ajutor!
-
Cum pot face cand un player are mai putin de 30 viata sa execute un anim si dupa cateva secunde sa moara?
Nu vreau totul mura in gura, vreau sa stiu de unde incep...
-
merci mult ![]stuntman[]!stuntman[]!" post="108524" timestamp="1326555211"]Fa 2 if-uri, jumate de cazuri in primul, jumate in al 2-lea.
Nu-ti voi da exemplu pentru ca nu e titlul corect.
-
de la ce poate fi eroarea asta?
C:\Users\Asus\Desktop\server de samp\gamemodes\rolife.pwn(3796) : error 075: input line too long (after substitutions) Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
[pawn]public IsACopCar(carid)
{
if((carid == police1) || (carid == police2) || (carid == police3) || (carid == police4) || (carid == police5) || (carid == police6) || (carid == police7) || (carid == police8) || (carid == police9) || (carid == police10) || (carid == police11) || (carid == police12) || (carid == police13) || (carid == police14) || (carid == police15) || (carid == police16) || (carid == police17) || (carid == police18) || (carid == police19) || (carid == police20) || (carid == police21) || (carid == police22) || (carid == police23))
{
return 1;
}
return 0;
}[/pawn]
-
Cum pot face de exemplu la corleone daca nu esti membru sa te dea afara din masina?
-
Nu ai facut cererea unde trebuie uite linku cu sectiunea tutoriale http://www.sa-mp.ro/forum/index.php/board,24.0.html
-
pentru ca sa adaugi mai multe masini personale pe un cont nu conteaza doar comanda "buy"! trebuie sa umbli la tot sistemul de masini personale...
P.S. Nu te as sfatui sa te bagi pt ca ai sansa sa il buguiesti pe tot...
-
gata am rezolvat da acum nu mai pot intra in masini:|
parca ar fi incuiate:((((((
merge sa intru in masini doar daca sunt pe /aod
-
daca il sterg imi da erorile astea...
[pawn]C:\Users\Asus\Desktop\New folder\samp03dsvr_win32\gamemodes\czgammer.pwn(4187) : error 017: undefined symbol "CarInfo"
C:\Users\Asus\Desktop\New folder\samp03dsvr_win32\gamemodes\czgammer.pwn(4187) : error 036: empty statement
C:\Users\Asus\Desktop\New folder\samp03dsvr_win32\gamemodes\czgammer.pwn(4187) : error 017: undefined symbol "h"
C:\Users\Asus\Desktop\New folder\samp03dsvr_win32\gamemodes\czgammer.pwn(4187) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
[/pawn]
-
pai e asta [pawn]new CarInfo[237];[/pawn] il sterg?
-
am rezolvat problema nu scosesem sitemu totoal... dar acm imi da un warning
[pawn]C:\Users\Asus\Desktop\New folder\samp03dsvr_win32\gamemodes\czgammer.pwn(52333) : warning 203: symbol is never used: "CarInfo"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 10732 bytes
Code size: 1879856 bytes
Data size: 6496660 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5184 cells (20736 bytes)
Total requirements: 8403632 bytes
1 Warning.[/pawn]
line 52333 : [pawn]}[/pawn] e ultima linie din gm..
nu gasesc.
in Arhivă probleme
Posted
1: Nu se cer scripturi, fs, Gm, ....
2: Io cred ca tu vrei sa tise dea totul pe tava!
3: tia aratat -IcE- tot ce trebuie fal si dupaia posteaza eventualele erori!