Stefan
-
Posts
83 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by Stefan
-
-
nu stiu cum se face, nu reusesc.daca as reusi sa-l pun ca FS dar nu imi dau seama cum trebuie facut acolo OnGameModeInit ca nu am return 1; la urma si daca pun eu return 1; imi da la vehicles model: 0 ca imi da un warning la compilat
imi da acest warning
[pawn]C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(11197) : warning 225: unreachable code[/pawn]
si linia aia e asta
[pawn]veh1 = CreateVehicle(527,870.2000100,-1669.3000500,13.3000000,0.0000000,2,2,15); //Cadrona[/pawn]
si eu am facut asa cu return
[pawn] for(new i = 0; i < sizeof(CreatedCars); i++)
{
CreatedCars = 253;
}
SendRconCommand("loadfs carownership");
return 1;
//===============================================================================================//
//---Vehicule Coordonate---//
//===============================================================================================//
veh1 = CreateVehicle(527,870.2000100,-1669.3000500,13.3000000,0.0000000,2,2,15); //Cadrona[/pawn]
-
adica sa copiez tot din FS in GM?si sa nu mai pun in server.cfg nimic la filterscripts?
Am pus tot din FS in Gm si nu se compileaza
[pawn]C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(46722) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN")
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(46723) : warning 201: redefinition of constant/macro (symbol "COLOR_GREY")
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(46724) : warning 201: redefinition of constant/macro (symbol "COLOR_WHITE")
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(46725) : warning 201: redefinition of constant/macro (symbol "COLOR_YELLOW")
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(46726) : warning 201: redefinition of constant/macro (symbol "COLOR_YELLOW2")
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(46727) : warning 201: redefinition of constant/macro (symbol "COLOR_BLUE")
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(46971) : warning 201: redefinition of constant/macro (symbol "pInfo")
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(46976) : error 021: symbol already defined: "PlayerInfo"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(47321) : error 021: symbol already defined: "strtok"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(47340) : error 021: symbol already defined: "split"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(47372) : error 021: symbol already defined: "OnPlayerKeyStateChange"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(47407) : error 021: symbol already defined: "ProxDetectorS"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(47478) : error 021: symbol already defined: "PlayerToPoint"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(47647) : error 021: symbol already defined: "OnPropUpdate"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(47708) : error 021: symbol already defined: "JB_OnDialogResponse"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(47940) : error 021: symbol already defined: "JB_OnPlayerEnterVehicle"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(48044) : error 021: symbol already defined: "JB_OnPlayerSpawn"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(48050) : error 021: symbol already defined: "JB_OnPlayerConnect"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(48062) : error 021: symbol already defined: "JB_OnPlayerCommandText"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(49115) : error 021: symbol already defined: "OnPlayerEnterCheckpoint"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(49220) : error 021: symbol already defined: "JB_OnPlayerStateChange"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(49261) : error 021: symbol already defined: "ini_GetKey"
C:\Users\Malossi\Desktop\swaG RPG v0.3\swaG RPG\gamemodes\Rp.pwn(49270) : error 021: symbol already defined: "ini_GetValue"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
16 Errors.
[/pawn]
-
nu imi mai trebuie sa pun obiectele alea dar am o alta intrebare as vrea sa pun acest fs pe GM meu http://www.sa-mp.ro/forum/index.php?topic=12269.0
Dar la OnGameModeInit nu am la urma return 1;
asa arata la mine
[pawn]public OnGameModeInit()
{
new count;
if(!dini_Exists("Territories.cfg")){
dini_Create("Territories.cfg");}
new Tloader[128];
for(new t = 0;t<MAX_TURF;t++)
{
format(Tloader,sizeof(Tloader),"Owner_%d",t); TurfInfo[t][Owner] = dini_Int("Territories.cfg",Tloader);
format(Tloader,sizeof(Tloader),"MinX_%d",t); TurfInfo[t][MinX] = dini_Float("Territories.cfg",Tloader);
format(Tloader,sizeof(Tloader),"MinY_%d",t); TurfInfo[t][MinY] = dini_Float("Territories.cfg",Tloader);
format(Tloader,sizeof(Tloader),"MaxX_%d",t); TurfInfo[t][MaxX] = dini_Float("Territories.cfg",Tloader);
format(Tloader,sizeof(Tloader),"MaxY_%d",t); TurfInfo[t][MaxY] = dini_Float("Territories.cfg",Tloader);
format(Tloader,sizeof(Tloader),"CodTime_%d",t); TurfInfo[t][CodTime] = dini_Int("Territories.cfg",Tloader);
if(TurfInfo[t][Owner] != 0)
{
count ++;
TurfID[count] = GangZoneCreate(TurfInfo[count][MinX],TurfInfo[count][MinY],TurfInfo[count][MaxX],TurfInfo[count][MaxY]);
printf("ID:%d Own:%d Mnx:%f MnY:%f MxX:%f MxY:%f",count,TurfInfo[count][Owner],TurfInfo[count][MinX],TurfInfo[count][MinY],TurfInfo[count][MaxX],TurfInfo[count][MaxY]);
}
}
for(new n = 0; n < MAX_OBJ; n++) dGunData[n][ObjID] = -1;
#if defined SAVING
new File:file = fopen("PickUp&DropGuns.ini", io_read);
if(file)
{
new buffer[256], FileCoords[5][20];
for(new g = 0; g < MAX_OBJ; g++)
{
fread(file, buffer);
split(buffer, FileCoords, ',');
dGunData[g][ObjPos][0] = floatstr(FileCoords[0]);
dGunData[g][ObjPos][1] = floatstr(FileCoords[1]);
dGunData[g][ObjPos][2] = floatstr(FileCoords[2]);
dGunData[g][ObjData][0] = strval(FileCoords[3]);
dGunData[g][ObjData][1] = strval(FileCoords[4]);
if(dGunData[g][ObjData][0] > 0 && dGunData[g][ObjData][1] != 0 && dGunData[g][ObjPos][0] != 0)
{
dGunData[g][ObjID] = CreateObject(GunObjects[dGunData[g][ObjData][0]], dGunData[g][ObjPos][0], dGunData[g][ObjPos][1], dGunData[g][ObjPos][2]-1, 93.7, 120.0, 120.0);
printf("%s Loaded: %f,%f,%f", GunNames[dGunData[g][ObjData][0]], dGunData[g][ObjPos][0], dGunData[g][ObjPos][1], dGunData[g][ObjPos][2]-1);
}
}
}
else print("Failed to open PickUp&DropGuns.ini");
#endif
Baller = 999;
DestroyObject(Ball);
new string[MAX_PLAYER_NAME];
new string1[MAX_PLAYER_NAME];
ReactionTimer = SetTimer("ReactionTest",REACTION_TIME*9000000*60,true);
WebAn = SetTimer("WS", 9000000, 1);
rwp = TextDrawCreate(22.000000, 124.000000, "Riwal War Possesion");
TextDrawBackgroundColor(rwp, 255);
TextDrawFont(rwp, 0);
TextDrawLetterSize(rwp, 0.330000, 1.200000);
TextDrawColor(rwp, -1);
TextDrawSetOutline(rwp, 1);
TextDrawSetProportional(rwp, 1);
TextDrawUseBox(rwp, 1);
TextDrawBoxColor(rwp, 60);
TextDrawTextSize(rwp, 174.000000, -1.000000);
ykzt = TextDrawCreate(22.000000, 140.000000, "Yakuza:");
TextDrawBackgroundColor(ykzt, 255);
TextDrawFont(ykzt, 1);
TextDrawLetterSize(ykzt, 0.280000, 1.100000);
TextDrawColor(ykzt, 11862271);
TextDrawSetOutline(ykzt, 1);
TextDrawSetProportional(ykzt, 1);
TextDrawUseBox(ykzt, 1);
TextDrawBoxColor(ykzt, 60);
TextDrawTextSize(ykzt, 174.000000, 4.000000);
lcnt = TextDrawCreate(22.000000, 154.500000, "La Cosa Nostra:");
TextDrawBackgroundColor(lcnt, 255);
TextDrawFont(lcnt, 1);
TextDrawLetterSize(lcnt, 0.280000, 1.100000);
TextDrawColor(lcnt, -512360193);
TextDrawSetOutline(lcnt, 1);
TextDrawSetProportional(lcnt, 1);
TextDrawUseBox(lcnt, 1);
TextDrawBoxColor(lcnt, 60);
TextDrawTextSize(lcnt, 174.000000, 4.000000);
ykzpos = TextDrawCreate(63.000000, 141.000000, "100%");
TextDrawBackgroundColor(ykzpos, 255);
TextDrawFont(ykzpos, 2);
TextDrawLetterSize(ykzpos, 0.360000, 1.100000);
TextDrawColor(ykzpos, -1);
TextDrawSetOutline(ykzpos, 1);
TextDrawSetProportional(ykzpos, 1);
lcnpos = TextDrawCreate(48.000000, 155.000000, "0%");
TextDrawBackgroundColor(lcnpos, 255);
TextDrawFont(lcnpos, 2);
TextDrawLetterSize(lcnpos, 0.360000, 1.100000);
TextDrawColor(lcnpos, -1);
TextDrawSetOutline(lcnpos, 1);
TextDrawSetProportional(lcnpos, 1);
presret = TextDrawCreate(22.000000, 169.000000, "Press RETURN to exit this message");
TextDrawBackgroundColor(presret, 255);
TextDrawFont(presret, 1);
TextDrawLetterSize(presret, 0.250000, 1.400000);
TextDrawColor(presret, -1);
TextDrawSetOutline(presret, 1);
TextDrawSetProportional(presret, 1);
TextDrawUseBox(presret, 1);
TextDrawBoxColor(presret, 60);
TextDrawTextSize(presret, 174.000000, 4.000000);
rwpcb = TextDrawCreate(22.000000, 124.000000, "Riwal War Possesion");
TextDrawBackgroundColor(rwpcb, 255);
TextDrawFont(rwpcb, 0);
TextDrawLetterSize(rwpcb, 0.330000, 1.200000);
TextDrawColor(rwpcb, -1);
TextDrawSetOutline(rwpcb, 1);
TextDrawSetProportional(rwpcb, 1);
TextDrawUseBox(rwpcb, 1);
TextDrawBoxColor(rwpcb, 60);
TextDrawTextSize(rwpcb, 174.000000, -1.000000);
czt = TextDrawCreate(22.000000, 140.000000, "Crips:");
TextDrawBackgroundColor(czt, 255);
TextDrawFont(czt, 1);
TextDrawLetterSize(czt, 0.280000, 1.100000);
TextDrawColor(czt, 3963903);
TextDrawSetOutline(czt, 1);
TextDrawSetProportional(czt, 1);
TextDrawUseBox(czt, 1);
TextDrawBoxColor(czt, 60);
TextDrawTextSize(czt, 174.000000, 4.000000);
bzt = TextDrawCreate(22.000000, 154.500000, "Bloods:");
TextDrawBackgroundColor(bzt, 255);
TextDrawFont(bzt, 1);
TextDrawLetterSize(bzt, 0.280000, 1.100000);
TextDrawColor(bzt, -5712897);
TextDrawSetOutline(bzt, 1);
TextDrawSetProportional(bzt, 1);
TextDrawUseBox(bzt, 1);
TextDrawBoxColor(bzt, 60);
TextDrawTextSize(bzt, 174.000000, 4.000000);
presretcb = TextDrawCreate(22.000000, 169.000000, "Press RETURN to exit this message");
TextDrawBackgroundColor(presretcb, 255);
TextDrawFont(presretcb, 1);
TextDrawLetterSize(presretcb, 0.250000, 1.399999);
TextDrawColor(presretcb, -1);
TextDrawSetOutline(presretcb, 1);
TextDrawSetProportional(presretcb, 1);
TextDrawUseBox(presretcb, 1);
TextDrawBoxColor(presretcb, 60);
TextDrawTextSize(presretcb, 174.000000, 4.000000);
czpos = TextDrawCreate(53.000000, 141.000000, "100%");
TextDrawBackgroundColor(czpos, 255);
TextDrawFont(czpos, 2);
TextDrawLetterSize(czpos, 0.360000, 1.100000);
TextDrawColor(czpos, -1);
TextDrawSetOutline(czpos, 1);
TextDrawSetProportional(czpos, 1);
bzpos = TextDrawCreate(61.000000, 155.000000, "0%");
TextDrawBackgroundColor(bzpos, 255);
TextDrawFont(bzpos, 2);
TextDrawLetterSize(bzpos, 0.360000, 1.100000);
TextDrawColor(bzpos, -1);
TextDrawSetOutline(bzpos, 1);
TextDrawSetProportional(bzpos, 1);
rwsn = TextDrawCreate(22.000000, 124.000000, "Riwal War Possesion");
TextDrawBackgroundColor(rwsn, 255);
TextDrawFont(rwsn, 0);
TextDrawLetterSize(rwsn, 0.330000, 1.200000);
TextDrawColor(rwsn, -1);
TextDrawSetOutline(rwsn, 1);
TextDrawSetProportional(rwsn, 1);
TextDrawUseBox(rwsn, 1);
TextDrawBoxColor(rwsn, 60);
TextDrawTextSize(rwsn, 174.000000, -1.000000);
srt = TextDrawCreate(22.000000, 140.000000, "Surenos:");
TextDrawBackgroundColor(srt, 255);
TextDrawFont(srt, 1);
TextDrawLetterSize(srt, 0.280000, 1.100000);
TextDrawColor(srt, -1660944641);
TextDrawSetOutline(srt, 1);
TextDrawSetProportional(srt, 1);
TextDrawUseBox(srt, 1);
TextDrawBoxColor(srt, 60);
TextDrawTextSize(srt, 174.000000, 4.000000);
nrt = TextDrawCreate(22.000000, 154.500000, "Nortenos:");
TextDrawBackgroundColor(nrt, 255);
TextDrawFont(nrt, 1);
TextDrawLetterSize(nrt, 0.280000, 1.100000);
TextDrawColor(nrt, -3669505);
TextDrawSetOutline(nrt, 1);
TextDrawSetProportional(nrt, 1);
TextDrawUseBox(nrt, 1);
TextDrawBoxColor(nrt, 60);
TextDrawTextSize(nrt, 174.000000, 4.000000);
presretsn = TextDrawCreate(22.000000, 169.000000, "Press RETURN to exit this message");
TextDrawBackgroundColor(presretsn, 255);
TextDrawFont(presretsn, 1);
TextDrawLetterSize(presretsn, 0.250000, 1.399999);
TextDrawColor(presretsn, -1);
TextDrawSetOutline(presretsn, 1);
TextDrawSetProportional(presretsn, 1);
TextDrawUseBox(presretsn, 1);
TextDrawBoxColor(presretsn, 60);
TextDrawTextSize(presretsn, 174.000000, 4.000000);
srnpos = TextDrawCreate(66.000000, 141.000000, "100%");
TextDrawBackgroundColor(srnpos, 255);
TextDrawFont(srnpos, 2);
TextDrawLetterSize(srnpos, 0.360000, 1.100000);
TextDrawColor(srnpos, -1);
TextDrawSetOutline(srnpos, 1);
TextDrawSetProportional(srnpos, 1);
nrtpos = TextDrawCreate(74.000000, 155.000000, "0%");
TextDrawBackgroundColor(nrtpos, 255);
TextDrawFont(nrtpos, 2);
TextDrawLetterSize(nrtpos, 0.360000, 1.100000);
TextDrawColor(nrtpos, -1);
TextDrawSetOutline(nrtpos, 1);
TextDrawSetProportional(nrtpos, 1);
for(new c=0;c<CAR_AMOUNT;c++)
{
Gas[c] = GasMax;
}
LoadProperty();
LoadBizz();
LoadSBizz();
LoadBoxer();
LoadStuff();
LoadIRC();
LoadFamilies();
LoadCK();
LoadTurfs();
LoadPapers();
ShowPlayerMarkers(2);
DisableInteriorEnterExits();
EnableStuntBonusForAll(0);
IRCInfo[0][iPlayers] = 0; IRCInfo[1][iPlayers] = 0; IRCInfo[2][iPlayers] = 0;
IRCInfo[3][iPlayers] = 0; IRCInfo[4][iPlayers] = 0; IRCInfo[5][iPlayers] = 0;
IRCInfo[6][iPlayers] = 0; IRCInfo[7][iPlayers] = 0; IRCInfo[8][iPlayers] = 0;
IRCInfo[9][iPlayers] = 0;
News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
format(string, sizeof(string), "Nothing");
strmid(News[hAdd1], string, 0, strlen(string), 255);
strmid(News[hAdd2], string, 0, strlen(string), 255);
strmid(News[hAdd3], string, 0, strlen(string), 255);
strmid(News[hAdd4], string, 0, strlen(string), 255);
strmid(News[hAdd5], string, 0, strlen(string), 255);
format(string1, sizeof(string1), "No-one");
strmid(News[hContact1], string1, 0, strlen(string1), 255);
strmid(News[hContact2], string1, 0, strlen(string1), 255);
strmid(News[hContact3], string1, 0, strlen(string1), 255);
strmid(News[hContact4], string1, 0, strlen(string1), 255);
strmid(News[hContact5], string1, 0, strlen(string1), 255);
PlayerHaul[41][pCapasity] = 50;
PlayerHaul[42][pCapasity] = 50;
PlayerHaul[43][pCapasity] = 100;
PlayerHaul[44][pCapasity] = 100;
SetGameModeText("swaG RPG v0.3");
SendRconCommand("mapname Los Santos");
format(objstore, sizeof(objstore), "MOLE: I got nothing, check back with me later");
format(cbjstore, sizeof(cbjstore), "HQ: There is nothing in your Vicinity, Out");
format(motd, sizeof(motd), "{FF5555}Server: {FFFFFF}Bun venit pe {31CFFF}swaG RPG {FFFFFF}!");
gettime(ghour, gminute, gsecond);
FixHour(ghour);
ghour = shifthour;
if(!realtime)
{
SetWorldTime(wtime);
}
SetTimer("ChangeWeather",1800000,true);
SetTimer("SistemDeIncendiere", 1500000,true);
SetPDistance(100);
AllowInteriorWeapons(1);
AllowAdminTeleport(1);
UsePlayerPedAnims();
for(new i = 0; i < sizeof(CreatedCars); i++)
{
CreatedCars = 253;
}
[/pawn]
Si nu stiu unde sa pun SendRconCommand("loadfs carownership");
-
TOTE LINIILE ASTEA SUN CA ACEASTA:
[pawn]CreateObject(10009, 1033.8000488281, -660, 131.5, 0, 0, 170);[/pawn]
Adica obiecte
[pawn]
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(45867) : warning 215: expression has no effect
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(45872) : warning 215: expression has no effect
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(45888) : warning 215: expression has no effect
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(45893) : warning 215: expression has no effect
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(45912) : warning 215: expression has no effect
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(45921) : warning 215: expression has no effect
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(46717) : error 010: invalid function or declaration
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(46820) : error 010: invalid function or declaration
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(46831) : error 010: invalid function or declaration
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(46833) : error 010: invalid function or declaration
C:\Users\Stefan\Desktop\RP\swaG RPG\gamemodes\Rp.pwn(46844) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
[/pawn]
-
multumsesc de raspuns!! =)) niciodata nu o sa reusesc asta
-
am si eu o intrebare.
Am gasit un server mysql si nu reusesc eu sa fac baza de date.adica am facut baza de date dar nu reusesc sa fac tabelul cu user etc.nu as putea sa transform gm-u sa nu mai fie mysq sa fie normal cu "users" in scriptfiles
-
Ladmin folosesc
Daca fac un cont cu vreo 7-8 litere la nume ala il recunoaste dar cand fac unul mai lung de vreo 10 litere nu-l mai recunoaste
Poate e de pe aici problema
[pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=OnPlayerRegister=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
public OnPlayerRegister(playerid, password[])
{
if(IsPlayerConnected(playerid))
{
new string3[64];
new playername3[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername3, sizeof(playername3));
format(string3, sizeof(string3), "Users/%s.ini", playername3);
new File: hFile = fopen(string3, io_write);
if (hFile)
{
strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255);
new var[32];
format(var, 64, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var);
PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
format(var, 64, "Level=%d\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
format(var, 64, "AdminLevel=%d\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var);
format(var, 64, "VipLevel=%d\n",PlayerInfo[playerid][pVIP]);fwrite(hFile, var);
format(var, 64, "VipExpire=%d\n",PlayerInfo[playerid][pPlayerVIPExpires]);fwrite(hFile, var);
format(var, 64, "PM's=%d\n",PlayerInfo[playerid][preply1984]);fwrite(hFile, var);
format(var, 64, "Helper=%d\n",PlayerInfo[playerid][pHelper]);fwrite(hFile, var);
format(var, 64, "FightStyle=%d\n",PlayerInfo[playerid][pFightStyle]);fwrite(hFile, var);
format(var, 64, "DonateRank=%d\n",PlayerInfo[playerid][pDonateRank]);fwrite(hFile, var);
format(var, 64, "UpgradePoints=%d\n",PlayerInfo[playerid][gPupgrade]);fwrite(hFile, var);
format(var, 64, "ConnectedTime=%d\n",PlayerInfo[playerid][pConnectTime]);fwrite(hFile, var);
format(var, 64, "Registered=%d\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var);
format(var, 64, "Sex=%d\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var);
format(var, 64, "Age=%d\n",PlayerInfo[playerid]
);fwrite(hFile, var);
format(var, 64, "Origin=%d\n",PlayerInfo[playerid][pOrigin]);fwrite(hFile, var);
format(var, 64, "CK=%d\n",PlayerInfo[playerid][pCK]);fwrite(hFile, var);
format(var, 64, "Muted=%d\n",PlayerInfo[playerid][pMuted]);fwrite(hFile, var);
format(var, 64, "Respect=%d\n",PlayerInfo[playerid][pExp]);fwrite(hFile, var);
format(var, 64, "Money=%d\n",PlayerInfo[playerid][pCash]);fwrite(hFile, var);
format(var, 64, "Walkstyles=%d\n",PlayerInfo[playerid][pWstyles]);fwrite(hFile, var);
format(var, 64, "Bank=%d\n",PlayerInfo[playerid][pAccount]);fwrite(hFile, var);
format(var, 64, "Crimes=%d\n",PlayerInfo[playerid][pCrimes]);fwrite(hFile, var);
format(var, 64, "Kills=%d\n",PlayerInfo[playerid][pKills]);fwrite(hFile, var);
format(var, 64, "Deaths=%d\n",PlayerInfo[playerid][pDeaths]);fwrite(hFile, var);
format(var, 64, "Arrested=%d\n",PlayerInfo[playerid][pArrested]);fwrite(hFile, var);
format(var, 64, "WantedDeaths=%d\n",PlayerInfo[playerid][pWantedDeaths]);fwrite(hFile, var);
format(var, 64, "Phonebook=%d\n",PlayerInfo[playerid][pPhoneBook]);fwrite(hFile, var);
format(var, 64, "LottoNr=%d\n",PlayerInfo[playerid][pLottoNr]);fwrite(hFile, var);
format(var, 64, "Fishes=%d\n",PlayerInfo[playerid][pFishes]);fwrite(hFile, var);
format(var, 64, "BiggestFish=%d\n",PlayerInfo[playerid][pBiggestFish]);fwrite(hFile, var);
format(var, 64, "Job=%d\n",PlayerInfo[playerid][pJob]);fwrite(hFile, var);
format(var, 64, "Clock=%d\n",PlayerInfo[playerid][pClock]);fwrite(hFile, var);
format(var, 64, "Smoke=%d\n",PlayerInfo[playerid][pSmoke]);fwrite(hFile, var);
format(var, 64, "Color=%d\n",PlayerInfo[playerid][pColor]);fwrite(hFile, var);
format(var, 64, "PaintJob=%d\n",PlayerInfo[playerid][pPaintJob]);fwrite(hFile, var);
format(var, 64, "Beer=%d\n",PlayerInfo[playerid][pBeer]);fwrite(hFile, var);
format(var, 64, "Rdeath=%d\n",PlayerInfo[playerid][pRdeath]);fwrite(hFile, var);
format(var, 64, "Bilet=%d\n",PlayerInfo[playerid][pBilet]);fwrite(hFile, var);
format(var, 64, "Abonament=%d\n",PlayerInfo[playerid][pAbonament]);fwrite(hFile, var);
format(var, 64, "LLogin=%d\n",PlayerInfo[playerid][pLLogin]);fwrite(hFile, var);
format(var, 64, "Spawntaxi=%d\n",PlayerInfo[playerid][pSpawntaxi]);fwrite(hFile, var);
format(var, 64, "Frozen=%d\n",PlayerInfo[playerid][pFrozen]);fwrite(hFile, var);
format(var, 64, "Towc=%d\n",PlayerInfo[playerid][pTowc]);fwrite(hFile, var);
format(var, 64, "Paycheck=%d\n",PlayerInfo[playerid][pPayCheck]);fwrite(hFile, var);
format(var, 64, "HeadValue=%d\n",PlayerInfo[playerid][pHeadValue]);fwrite(hFile, var);
format(var, 64, "Jailed=%d\n",PlayerInfo[playerid][pJailed]);fwrite(hFile, var);
format(var, 64, "JailTime=%d\n",PlayerInfo[playerid][pJailTime]);fwrite(hFile, var);
format(var, 64, "Materials=%d\n",PlayerInfo[playerid][pMats]);fwrite(hFile, var);
format(var, 64, "Drugs=%d\n",PlayerInfo[playerid][pDrugs]);fwrite(hFile, var);
format(var, 64, "Leader=%d\n",PlayerInfo[playerid][pLeader]);fwrite(hFile, var);
format(var, 64, "Member=%d\n",PlayerInfo[playerid][pMember]);fwrite(hFile, var);
format(var, 64, "FMember=%d\n",PlayerInfo[playerid][pFMember]);fwrite(hFile, var);
format(var, 64, "Rank=%d\n",PlayerInfo[playerid][pRank]);fwrite(hFile, var);
format(var, 64, "Char=%d\n",PlayerInfo[playerid][pChar]);fwrite(hFile, var);
format(var, 64, "ContractTime=%d\n",PlayerInfo[playerid][pContractTime]);fwrite(hFile, var);
format(var, 64, "DetSkill=%d\n",PlayerInfo[playerid][pDetSkill]);fwrite(hFile, var);
format(var, 64, "SexSkill=%d\n",PlayerInfo[playerid][pSexSkill]);fwrite(hFile, var);
format(var, 64, "BoxSkill=%d\n",PlayerInfo[playerid][pBoxSkill]);fwrite(hFile, var);
format(var, 64, "LawSkill=%d\n",PlayerInfo[playerid][pLawSkill]);fwrite(hFile, var);
format(var, 64, "MechSkill=%d\n",PlayerInfo[playerid][pMechSkill]);fwrite(hFile, var);
format(var, 64, "JackSkill=%d\n",PlayerInfo[playerid][pJackSkill]);fwrite(hFile, var);
format(var, 64, "CarSkill=%d\n",PlayerInfo[playerid][pCarSkill]);fwrite(hFile, var);
format(var, 64, "NewsSkill=%d\n",PlayerInfo[playerid][pNewsSkill]);fwrite(hFile, var);
format(var, 64, "DrugsSkill=%d\n",PlayerInfo[playerid][pDrugsSkill]);fwrite(hFile, var);
format(var, 64, "CookSkill=%d\n",PlayerInfo[playerid][pCookSkill]);fwrite(hFile, var);
format(var, 64, "FishSkill=%d\n",PlayerInfo[playerid][pFishSkill]);fwrite(hFile, var);
format(var, 64, "pSHealth=%.1f\n",PlayerInfo[playerid][pSHealth]);fwrite(hFile, var);
GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
format(var, 64, "pHealth=%.1f\n",PlayerInfo[playerid][pHealth]);fwrite(hFile, var);
format(var, 64, "Int=%d\n",PlayerInfo[playerid][pInt]);fwrite(hFile, var);
format(var, 64, "Local=%d\n",PlayerInfo[playerid][pLocal]);fwrite(hFile, var);
format(var, 64, "Team=%d\n",PlayerInfo[playerid][pTeam]);fwrite(hFile, var);
format(var, 64, "Model=%d\n",PlayerInfo[playerid][pModel]);fwrite(hFile, var);
format(var, 64, "PhoneNr=%d\n",PlayerInfo[playerid][pPnumber]);fwrite(hFile, var);
format(var, 64, "Car=%d\n",PlayerInfo[playerid][pPcarkey]);fwrite(hFile, var);
format(var, 64, "Car2=%d\n",PlayerInfo[playerid][pPcarkey2]);fwrite(hFile, var);
format(var, 64, "Eli=%d\n",PlayerInfo[playerid][pPelikey]);fwrite(hFile, var);
format(var, 64, "Boat=%d\n",PlayerInfo[playerid][pPboatkey]);fwrite(hFile, var);
format(var, 64, "House=%d\n",PlayerInfo[playerid][pPhousekey]);fwrite(hFile, var);
format(var, 64, "Bizz=%d\n",PlayerInfo[playerid][pPbiskey]);fwrite(hFile, var);
format(var, 64, "WantedLevel=%d\n",PlayerInfo[playerid][pWantedLevel]);fwrite(hFile, var);
if ((PlayerInfo[playerid][pPos_x]==0.0 && PlayerInfo[playerid][pPos_y]==0.0 && PlayerInfo[playerid][pPos_z]==0.0))
{
PlayerInfo[playerid][pPos_x] = 1684.9;
PlayerInfo[playerid][pPos_y] = -2244.5;
PlayerInfo[playerid][pPos_z] = 13.5;
}
if(Spectate[playerid] != 255)
{
PlayerInfo[playerid][pPos_x] = Unspec[playerid][sPx];
PlayerInfo[playerid][pPos_y] = Unspec[playerid][sPy];
PlayerInfo[playerid][pPos_z] = Unspec[playerid][sPz];
PlayerInfo[playerid][pInt] = Unspec[playerid][sPint];
PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal];
}
format(var, 64, "Pos_x=%.1f\n",PlayerInfo[playerid][pPos_x]);fwrite(hFile, var);
format(var, 64, "Pos_y=%.1f\n",PlayerInfo[playerid][pPos_y]);fwrite(hFile, var);
format(var, 64, "Pos_z=%.1f\n",PlayerInfo[playerid][pPos_z]);fwrite(hFile, var);
format(var, 64, "CarLic=%d\n",PlayerInfo[playerid][pCarLic]);fwrite(hFile, var);
format(var, 64, "FlyLic=%d\n",PlayerInfo[playerid][pFlyLic]);fwrite(hFile, var);
format(var, 64, "BoatLic=%d\n",PlayerInfo[playerid][pBoatLic]);fwrite(hFile, var);
format(var, 64, "FishLic=%d\n",PlayerInfo[playerid][pFishLic]);fwrite(hFile, var);
format(var, 64, "GunLic=%d\n",PlayerInfo[playerid][pGunLic]);fwrite(hFile, var);
format(var, 64, "PassPort=%d\n",PlayerInfo[playerid][pPassPort]);fwrite(hFile, var);
format(var, 64, "Gps=%d\n",PlayerInfo[playerid][pGps]);fwrite(hFile, var);
format(var, 64, "Fighting=%d\n",PlayerInfo[playerid][pFS]);fwrite(hFile, var);
format(var, 64, "Gun1=%d\n",PlayerInfo[playerid][pGun1]);fwrite(hFile, var);
format(var, 64, "Gun2=%d\n",PlayerInfo[playerid][pGun2]);fwrite(hFile, var);
format(var, 64, "Gun3=%d\n",PlayerInfo[playerid][pGun3]);fwrite(hFile, var);
format(var, 64, "Gun4=%d\n",PlayerInfo[playerid][pGun4]);fwrite(hFile, var);
format(var, 64, "Ammo1=%d\n",PlayerInfo[playerid][pAmmo1]);fwrite(hFile, var);
format(var, 64, "Ammo2=%d\n",PlayerInfo[playerid][pAmmo2]);fwrite(hFile, var);
format(var, 64, "Ammo3=%d\n",PlayerInfo[playerid][pAmmo3]);fwrite(hFile, var);
format(var, 64, "Ammo4=%d\n",PlayerInfo[playerid][pAmmo4]);fwrite(hFile, var);
format(var, 64, "CarTime=%d\n",PlayerInfo[playerid][pCarTime]);fwrite(hFile, var);
format(var, 64, "PayDay=%d\n",PlayerInfo[playerid][pPayDay]);fwrite(hFile, var);
format(var, 64, "PayDayHad=%d\n",PlayerInfo[playerid][pPayDayHad]);fwrite(hFile, var);
format(var, 64, "CDPlayer=%d\n",PlayerInfo[playerid][pCDPlayer]);fwrite(hFile, var);
format(var, 64, "Wins=%d\n",PlayerInfo[playerid][pWins]);fwrite(hFile, var);
format(var, 64, "Loses=%d\n",PlayerInfo[playerid][pLoses]);fwrite(hFile, var);
format(var, 64, "AlcoholPerk=%d\n",PlayerInfo[playerid][pAlcoholPerk]);fwrite(hFile, var);
format(var, 64, "DrugPerk=%d\n",PlayerInfo[playerid][pDrugPerk]);fwrite(hFile, var);
format(var, 64, "MiserPerk=%d\n",PlayerInfo[playerid][pMiserPerk]);fwrite(hFile, var);
format(var, 64, "PainPerk=%d\n",PlayerInfo[playerid][pPainPerk]);fwrite(hFile, var);
format(var, 64, "TraderPerk=%d\n",PlayerInfo[playerid][pTraderPerk]);fwrite(hFile, var);
format(var, 64, "Tutorial=%d\n",PlayerInfo[playerid][pTut]);fwrite(hFile, var);
format(var, 64, "Mission=%d\n",PlayerInfo[playerid][pMissionNr]);fwrite(hFile, var);
format(var, 64, "Warnings=%d\n",PlayerInfo[playerid][pWarns]);fwrite(hFile, var);
format(var, 64, "Fwarn=%d\n",PlayerInfo[playerid][pFwarn]);fwrite(hFile, var);
format(var, 64, "Adjustable=%d\n",PlayerInfo[playerid][pAdjustable]);fwrite(hFile, var);
format(var, 64, "AdminWarnings=%d\n",PlayerInfo[playerid][pAWarns]);fwrite(hFile, var);
format(var, 64, "Fuel=%d\n",PlayerInfo[playerid][pFuel]);fwrite(hFile, var);
format(var, 64, "Married=%d\n",PlayerInfo[playerid][pMarried]);fwrite(hFile, var);
format(var, 64, "MarriedTo=%s\n",PlayerInfo[playerid][pMarriedTo]);fwrite(hFile, var);
format(var, 64, "HaveBankpin=%d\n",PlayerInfo[playerid][pbankpin]);fwrite(hFile, var);
format(var, 64, "Bankpin=%d\n",PlayerInfo[playerid][pPin]);fwrite(hFile, var);
format(var, 64, "Card=%d\n", PlayerInfo[playerid][pCard]);fwrite(hFile, var);
format(var, 64, "CardM=%d\n", PlayerInfo[playerid][pCardM]);fwrite(hFile, var);
fclose(hFile);
new loginstring[128];
new loginname[64];
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"{FFFFFF}Bine ai venit, "color_green"%s\n{FFFFFF}Acest cont este inregistrat.\nTe rugam introdu parola pentru a te loga:",loginname);
ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT," ",loginstring,"Logare","Iesi");
}
}
return 1;
}
[/pawn]
-
adica users din scriptfiles?
-
cand isi face cineva un cont se inregistreaza se logheaza si dupa cand da /q si intra din nou pe sv ii da din nou REGISTER si cand pune parola spune ca deja e folosit numele.Aveti vreo rezolvare?
Cred ca am o limita de caractere da nu gasesc in GM unde e acea limita
-
am rezolvat cu bariera.am uitat sa inchid paranteza
cu jailu nu stiu sa rezolv problema
-
o problemema la compilat
C:\Users\Stefan\Desktop\RP SV\gamemodes\x.pwn(15605) : error 029: invalid expression, assumed zero
Linia:
[pawn] {[/pawn]
e de la o bariera problema
[pawn] if((newkeys==KEY_CROUCH))
{
if(PlayerToPoint(12.0,playerid,1261.9246826172, -2046.1292724609, 59.021949768066))
{
if (PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 5
{
if ((!adds)) {return 1;}
SetTimer("AddsOn9", addtimer33, 0);adds = 0;
RotateObject(barieracorleone, 0, 0.75006103515625, 1.2468566894531, 20, 11.5);
SCM(playerid, WHITE, "The barrier is now open and will be closed in 4 seconds ");
SetTimer("closebarieracorleone",4000,0);
}
}
}[/pawn]
Avea doar if (PlayerInfo[playerid][pLeader] == 5 si eu am mai adaugat || PlayerInfo[playerid][pMember] == 5 cum am la toate barierile de la factiuni dar vad ca aici nu vrea sa compileze cand pun || PlayerInfo[playerid][pMember] == 5
Inca o problema este atunci cand am wanted si un politist ma omora imi ia banii si imi da secundele de jail dar nu ma baga la jail ma spawneaza la casa sau unde am eu spawnu
Cred ca de pe aici e problema
[pawn]if(newstate == PLAYER_STATE_WASTED)
{
if(WantedLevel[playerid] >= 1)
{
new price = WantedLevel[playerid] * 500;
new count;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(gTeam == 2 && CrimInRange(30.0, playerid,i))
{
count = 1;
format(string, sizeof(string), "~w~Running Suspect~r~Killed~n~Bonus~g~$%d", price);
GameTextForPlayer(i, string, 5000, 1);
ConsumingMoney = 1;
GivePlayerMoney(i, price / 2);
PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0);
}
}
}
if(count == 1)
{
PlayerInfo[playerid][pMats] = 0;
GivePlayerMoney(playerid, - price);
PlayerInfo[playerid][pWantedDeaths] += 1;
PlayerInfo[playerid][pJailed] = 1;
PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(300);
SetPlayerWantedLevel(playerid, 0);
format(string, sizeof(string), "* You are in Jail for %d Seconds and lose $%d because of running away and getting shot by the Officer.", PlayerInfo[playerid][pJailTime], price);
SCM(playerid, COLOR_LIGHTRED, string);
WantedPoints[playerid] = 0;
WantedLevel[playerid] = 0;
}
}
}[/pawn]
-
Va rog ma puteti ajuta sa rezolv cateva buguri?
1.Deci cand am wanted si un politist ma omoara imi da secundele de jail imi ia banii dar nu ma baga in jail ma da unde ma spawnez eu de obicei.Cand ma aresteaza cu /arrest ma da in jail
2.Am la toate factiunile porti si la unele bariera care apesi H si se deschid dar la o factiune doar leaderu poate deschide bariera si inca o chestie legat de bariere cum as putea sa fac sa se ridice mai repede?dureaza in jur de 5-8 secunde sa se ridice bariera in sus
3.La PD,FBI,NG cand dau leader sau leaderu da /invite nu se pune automar team2 trebuie sa le dea un admin tot timpu /setteam x 2.
Multumesc!
comanda /makeleader
[pawn] if(strcmp(cmd, "/makeleader", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SCM(playerid, COLOR_GRAD2, "USAGE: /makeleader [playerid/PartOfName] [Number(1-16)]");
SCM(playerid, COLOR_WHITE, "ID = 1 = Police Force || ID = 2 = FBI || ID = 3 = National Guard || ID = 4 = Ambulance ||");
SCM(playerid, COLOR_WHITE, "ID = 5 = Corleone || ID = 6 = Barzini || ID = 7 Presedinte || ID = 8 = Hitman ||");
SCM(playerid, COLOR_WHITE, "ID = 9 = News Reporter || ID = 10 = Taxi || ID = 11 = School Instructor || ID = 12 = The Nang Boys ||");
SCM(playerid, COLOR_WHITE, "ID = 13 = Underground Street Tunning || ID = 14 = Ballas || ID = 15 Grove || ID = 16 Los Santos Vagos");
SCM(playerid, COLOR_WHITE, "ID = 17 = Tow Car Company");
return 1;
}
new para1;
new level;
para1 = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
level = strval(tmp);
if(level > 17 || level < 0) { SCM(playerid, COLOR_GREY, " Dont go below number 0, or above number 17!"); return 1; }
if (PlayerInfo[playerid][pAdmin] >=7)
{
if(IsPlayerConnected(para1))
{
if(para1 != INVALID_PLAYER_ID)
{
if(PlayerInfo[para1][pMember] > 0 || PlayerInfo[para1][pFMember] < 255)
{
SCM(playerid, COLOR_GREY, " That player is in a Faction / Family !");
return 1;
}
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pLeader] = level;
PlayerInfo[para1][pRank] = 6;
SetPlayerHealth(para1, 0.0);
format(string, sizeof(string), " You have been promoted to Leader to your requested Faction by Admin %s", sendername);
SCM(para1, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), " You have given %s control to run Faction Number %d.", giveplayer,level);
SCM(playerid, COLOR_LIGHTBLUE, string);
if(level == 0) { PlayerInfo[para1][pChar] = 0; }
else if(level == 1) { PlayerInfo[para1][pChar] = 71; } //Police Force
else if(level == 2) { PlayerInfo[para1][pChar] = 285; } //FBI/ATF
else if(level == 3) { PlayerInfo[para1][pChar] = 287; } //National Guard
else if(level == 4) { PlayerInfo[para1][pChar] = 228; } //Fire/Ambulance
else if(level == 5) { PlayerInfo[para1][pChar] = 113; } //Corleone
else if(level == 6) { PlayerInfo[para1][pChar] = 270; } //Barzini
else if(level == 7) { PlayerInfo[para1][pChar] = 186; } //Mayor
else if(level == 8) { PlayerInfo[para1][pChar] = 294; } //Hitmans
else if(level == 9) { PlayerInfo[para1][pChar] = 227; } //News Reporters
else if(level == 10) { PlayerInfo[para1][pChar] = 61; } //Taxi Cab Company
else if(level == 11) { PlayerInfo[para1][pChar] = 171; } //Driving/Flying School
else if(level == 12) { PlayerInfo[para1][pChar] = 184; } //The Nang Boys
else if(level == 13) { PlayerInfo[para1][pChar] = 24; } //Underground Street Tunning
else if(level == 14) { PlayerInfo[para1][pChar] = 104; } //Ballas
else if(level == 15) { PlayerInfo[para1][pChar] = 271; } //Grove
else if(level == 16) { PlayerInfo[para1][pChar] = 110; } //Los Santos Vagos
else if(level == 17) { PlayerInfo[para1][pChar] = 50; } //Tow Car Comapny
gTeam[para1] = 17;
PlayerInfo[para1][pTeam] = 17;
SetPlayerSkin(para1, PlayerInfo[para1][pChar]);
GetPlayerName(playerid, numewarning, sizeof(numewarning));
format(string, sizeof(string), "[AdmWarning]: %s ia dat leader[%d] lui %s.",numewarning,level,giveplayer);
ABroadCast(COLOR_LIGHTRED,string, 5);
}
}//not connected
}
else
{
SCM(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}
[/pawn]
COMANDA /INVITE
[pawn]if(strcmp(cmd, "/invite", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SCM(playerid, COLOR_GRAD2, "USAGE: /invite [playerid/PartOfName]");
return 1;
}
new para1;
new ftext[20];
para1 = ReturnUser(tmp);
if (PlayerInfo[playerid][pLeader] >= 1)
{
if(IsPlayerConnected(para1))
{
if(para1 != INVALID_PLAYER_ID)
{
if (gTeam[para1]==TEAM_GREEN && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255)
{
if(PlayerInfo[para1][pJob] > 0)
{
SCM(playerid, COLOR_GREY, " Can't invite him, player has a Job !");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Police Force"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); }
else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "FBI/ATF"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "National Guard"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }
else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "Firemen/Ambulance"; ChosenSkin[para1] = 70; SetPlayerSkin(para1, 70); }
else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Corleone"; ChosenSkin[para1] = 258; SetPlayerSkin(para1, 120); }
else if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Barzini "; ChosenSkin[para1] = 120; SetPlayerSkin(para1, 258); }
else if(PlayerInfo[playerid][pLeader] == 7) { return 1; }
else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Hitman Agency"; ChosenSkin[para1] = 127; SetPlayerSkin(para1, 127); }
else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "CNN Studio"; ChosenSkin[para1] = 148; SetPlayerSkin(para1, 148); }
else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Taxi Cab Company"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); }
else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "School Instructors"; ChosenSkin[para1] = 59; SetPlayerSkin(para1, 59); }
else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "The Nang Boys"; ChosenSkin[para1] = 184; SetPlayerSkin(para1, 184); }
else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Underground Street"; ChosenSkin[para1] = 24; SetPlayerSkin(para1, 24); }
else if(PlayerInfo[playerid][pLeader] == 14) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Ballas"; ChosenSkin[para1] = 104; SetPlayerSkin(para1, 104); }
else if(PlayerInfo[playerid][pLeader] == 15) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Grove"; ChosenSkin[para1] = 271; SetPlayerSkin(para1, 271); }
else if(PlayerInfo[playerid][pLeader] == 16) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Los Santos Vagos"; ChosenSkin[para1] = 110; SetPlayerSkin(para1, 110); }
else if(PlayerInfo[playerid][pLeader] == 17) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Tow Car Company"; ChosenSkin[para1] = 50; SetPlayerSkin(para1, 50); }
else { return 1; }
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pMember] = PlayerInfo[playerid][pLeader];
PlayerInfo[para1][pRank] = 1;
PlayerInfo[para1][pFwarn] = 0;
printf("AdmCmd: %s has invited %s to join %s.", sendername, giveplayer, ftext);
format(string, sizeof(string), " You have Joined the %s, you were invited by Leader %s", ftext, sendername);
SCM(para1, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), " You have Invited %s to join the %s.", giveplayer,ftext);
SCM(playerid, COLOR_LIGHTBLUE, string);
SetPlayerInterior(para1,0);
new rand = random(sizeof(gInviteSpawns));
SetPlayerPos(para1, gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]); // Warp the player
SetPlayerFacingAngle(para1, gInviteSpawns[rand][3]);
SetPlayerCameraPos(para1,gInviteSpawns[rand][0] + 3, gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
SetPlayerCameraLookAt(para1,gInviteSpawns[rand][0], gInviteSpawns[rand][1], gInviteSpawns[rand][2]);
TogglePlayerControllable(para1, 0);
SelectChar[para1] = 255;
SelectCharID[para1] = PlayerInfo[para1][pMember];
SelectCharPlace[para1] = 1;
PlayerInfo[para1][pModel] = ChosenSkin[para1];
PlayerInfo[para1][pChar] = ChosenSkin[para1];
SCM(para1, COLOR_LIGHTRED, "* Use 'next' to Select the char you want to use.");
SCM(para1, COLOR_LIGHTRED, "* If you've found the Char you want to use, type 'done'.");
}
else
{
SCM(playerid, COLOR_GREY, " That player is currently Wanted / a Different Team / or already a Family Member.");
return 1;
}
}
}//not connected
}
}
return 1;
}
[/pawn]
si ce am gasit despre bariera la factine
[pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=closebarieracorleone=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
public closebarieracorleone()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
RotateObject(barieracorleone, 0, 90, 1.2499694824219, 20, 11.5);
}
}
return 1;
}[/pawn]
[pawn] if((newkeys==KEY_CROUCH))
{
if(PlayerToPoint(12.0,playerid,1261.9246826172, -2046.1292724609, 59.021949768066))
{
if (PlayerInfo[playerid][pLeader] == 5)
{
if ((!adds)) {return 1;}
SetTimer("AddsOn9", addtimer33, 0);adds = 0;
RotateObject(barieracorleone, 0, 0.75006103515625, 1.2468566894531, 20, 11.5);
SCM(playerid, WHITE, "The barrier is now open and will be closed in 4 seconds ");
SetTimer("closebarieracorleone",4000,0);
}
}
}[/pawn]
-
pfff nu inteleg unde vin puse astea
-
cum fac sa apara id la masina la stats?
Acesta este stats si nu stiu cum as putea sa fac sa arate si id masinii personale/motorului si al elicopterului
[pawn]format(str,2640,"\t\t\t\t\t\t\t\t"color_green"Stats \n");
format(str,2640,"%s"color_cyan"%s\t\t\t\t\t\t\t\t\t\t\t\t\t\t"color_cyan" %02d.%02d.%02d\n\n\n",str,name,d,m,y);
format(str,2640,"%s"color_red"Account"wh": Level:[{EFD385}%d"wh"] Sex:[{EFD385}%s"wh"] Age:[{EFD385}%d"wh"] Origin:[{EFD385}%s"wh"] SpawnHealth:[{EFD385}%.1f"wh"] Cash:[{EFD385}%s"wh"] Bank:[{EFD385}%s"wh"] Ph:[{EFD385}%d"wh"]\n",str, level,atext,age,otext,shealth+100, DecimalPoint(targetid), DecimalPointBank(targetid), pnumber);
format(str,2640,"%s"color_red"Upgrades"wh": Team:[{EFD385}%s"wh"] DonateRank:[{EFD385}%s"wh"] NextLevel:[{EFD385}%d$"wh"] Respect:[{EFD385}%d/%d"wh"] Rank:[{EFD385}%s"wh"] Gps:[{EFD385}%d"wh"]\n Rob:[{EFD385}%d"wh"]\n Card:[{EFD385}$%d.00"wh"]\n",str,ttext, drank,costlevel,exp,expamount,rtext,gpsda,rob,Card);
format(str,2640,"%s"color_red"Crimes"wh": Kills:[{EFD385}%d"wh"] Deaths:[{EFD385}%d"wh"] WantedLevel:[{EFD385}%d"wh"] CrimesCommited:[{EFD385}%d"wh"] TimesArrested:[{EFD385}%d"wh"] WantedDeaths:[{EFD385}%d"wh"]\n Pin:[{EFD385}%d"wh"]\n",str,kills,deaths, wanted,crimes,arrests,warrests,Pin);
format(str,2640,"%s"color_red"Inventory"wh": Materials:[{EFD385}%d"wh"] LottoNr:[{EFD385}%d"wh"] Drugs:[{EFD385}%d"wh"] PlayingHours:[{EFD385}%d"wh"] Warnings:[{EFD385}%d/3"wh"] FactionWarns:[%d/3] Smoke[{EFD385}%d"wh"/{EFD385}20"wh"] Beers[{EFD385}%d"wh"/{EFD385}10"wh"] \n",str,mats,lotto,drugs,ptime,warns,fwarns,smoke,beer);
format(str,2640,"%s"color_red"Details"wh": Family:[{EFD385}%s"wh"] Disease:[{EFD385}%s"wh"] Organisation:[{EFD385}%s"wh"] FishesCaught:[{EFD385}%d"wh"] BiggestFish:[{EFD385}%d"wh"] Job:[{EFD385}%s"wh"] MarriedTo:[{EFD385}%s"wh"]\n",str,f2text,dtext,ftext,fishes,bigfish,jtext,married);
if (PlayerInfo[targetid][pPcarkey] != 999){format(str,2640,"%s"color_red"Masina personala"wh": VehModel: [{EFD385}%s"wh"] VehValue:[{EFD385}%d"wh"] VehColor1:[{EFD385}%d"wh"] VehColor2:[{EFD385}%d"wh"] VehLocked:[{EFD385}%d"wh"]\n",str, CarInfo[carkey][cDescription], CarInfo[carkey][cValue], CarInfo[carkey][cColorOne], CarInfo[carkey][cColorTwo], CarInfo[carkey][cLock]);}
if (PlayerInfo[targetid][pPcarkey2] != 999){format(str,2640,"%s"color_red"Masina personala2"wh": VehModel: [{EFD385}%s"wh"] VehValue:[{EFD385}%d"wh"] VehColor1:[{EFD385}%d"wh"] VehColor2:[{EFD385}%d"wh"] VehLocked:[{EFD385}%d"wh"]\n",str, CarInfo[carkey2][cDescription], CarInfo[carkey2][cValue], CarInfo[carkey2][cColorOne], CarInfo[carkey2][cColorTwo], CarInfo[carkey2][cLock]);}
if (PlayerInfo[targetid][pPelikey] != 999){format(str,2640,"%s"color_red"Eli personal"wh": VehModel: [{EFD385}%s"wh"] VehValue:[{EFD385}%d"wh"] VehColor1:[{EFD385}%d"wh"] VehColor2:[{EFD385}%d"wh"] VehLocked:[{EFD385}%d"wh"]\n",str, EliInfo[elikey][eDescription], EliInfo[elikey][eValue], EliInfo[elikey][eColorOne], EliInfo[elikey][eColorTwo], EliInfo[elikey][eLock]);}
if (PlayerInfo[targetid][pPboatkey] != 999){format(str,2640,"%s"color_red"Motor personal"wh": VehModel: [{EFD385}%s"wh"] VehValue:[{EFD385}%d"wh"] VehColor1:[{EFD385}%d"wh"] VehColor2:[{EFD385}%d"wh"] VehLocked:[{EFD385}%d"wh"]\n",str, BoatInfo[boatkey][bbDescription], BoatInfo[boatkey][bValue], BoatInfo[boatkey][bbColorOne], BoatInfo[boatkey][bbColorTwo], BoatInfo[boatkey][bbLock]);}
if (PlayerInfo[playerid][pAdmin] >= 1){format(str,2640,"%s"color_red"Admin"wh": Admin level: [{EFD385}%d"wh"] House key: [{EFD385}%d"wh" Business key: [{EFD385}%d"wh"] HireKey: [{EFD385}%d"wh"] int: [{EFD385}%d"wh"] local: [{EFD385}%d"wh"] Admin Warnings:[{EFD385}%d"wh"/{EFD385}4"wh"]\n",str,alevel,housekey,bizkey,HireCar[targetid],intir,local,awarns);}
ShowPlayerDialog( playerid, 6518, DIALOG_STYLE_MSGBOX, " ", str, "Iesi", "" );
}
}[/pawn]
Multumesc
-
am rezolvat cu recunoasterea conturilor dar nu stiu cum sa fac cu parola sa nu arate litere/cifre
-
cand scriu parola la login/register imi apare litere/cifre eu as vrea sa apara ••••••••• in loc de litere/cifre
cum as putea sa fac sa apara ••••••••?
Si inca o problema:am facut cont si cand intru pe server imi spune sa ma inregistrez si cand pun parola imi spune sa schimb numele ca il foloseste altcineva
-
Rezolvat
T/C
-
am rezolvat. Multumesc
-
am cautat si nu scrie uita ca nu am copiat atunci totul
[pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=OnPlayerConnect=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
public OnPlayerConnect(playerid)
{
if(Security != 0)
{
SCM(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
Kick(playerid);
return 1;
}
VipInfo[playerid][vCar] = -1;
VipInfo[playerid][hTime] = 1;
VipInfo[playerid][aTime] = 1;
if(IsPlayerNPC(playerid)) return 1;
ShowInfo[ playerid ] = TextDrawCreate(18.000000, 145.000000, "_");
TextDrawBackgroundColor(ShowInfo[ playerid ], 255);
TextDrawFont(ShowInfo[ playerid ], 1);
TextDrawLetterSize(ShowInfo[ playerid ], 0.370000, 1.400000);
TextDrawColor(ShowInfo[ playerid ], -1);
TextDrawSetOutline(ShowInfo[ playerid ], 0);
TextDrawSetProportional(ShowInfo[ playerid ], 1);
TextDrawSetShadow(ShowInfo[ playerid ], 1);
TextDrawUseBox(ShowInfo[ playerid ], 1);
TextDrawBoxColor(ShowInfo[ playerid ], 0x00000085);
TextDrawTextSize(ShowInfo[ playerid ], 252.000000, -10.000000);
IsInShop[playerid] = 0;
KeyTimer[playerid] = -1;
wait[playerid] = 0;
count1[playerid] = 0;
HasBoughtNewSkin[playerid] = 0;
LastPos[playerid][0] = 0;
LastPos[playerid][1] = 0;
LastPos[playerid][2] = 0;
LastPos[playerid][3] = 0;
LastInterior[playerid] = 0;
LastVW[playerid] = 0;
LastSkin[playerid] = 0;
TextdrawActive[playerid] = 0;
Skin[playerid] = 0;
IsDead[playerid] = 0;
BowlingMinutes[playerid] = 0;
BowlingSeconds[playerid] = 0;
BowlingStatus[playerid] = F_BOWLING_THROW;
PinsLeft[1][playerid] = 0;
AbleToPlay[playerid] = 0;
PlayersBowlingScore[playerid] = 0;
if(!dini_Exists(PlayerBowlingFile(playerid)))
{
dini_Create(PlayerBowlingFile(playerid));
dini_IntSet(PlayerBowlingFile(playerid),"BestScore",0);
dini_Set(PlayerBowlingFile(playerid),"LastTime","Never");
dini_IntSet(PlayerBowlingFile(playerid),"Stirkes",0);
}
if(dini_Exists(PlayerBowlingFile(playerid)))
{
BestScore[playerid] = dini_Int(PlayerBowlingFile(playerid),"BestScore");
LastTimePlayed[playerid] = dini_Get(PlayerBowlingFile(playerid),"LastTime");
PlayerStrikes[playerid] = dini_Int(PlayerBowlingFile(playerid),"Strikes");
}
//TextDrawShowForPlayer(playerid, Textdraw187);
TextDrawShowForPlayer(playerid, Textdraw770);
TextDrawShowForPlayer(playerid, Textdraw771);
//TextDrawShowForPlayer(playerid, Textdraw190);
TextDrawShowForPlayer(playerid, Textdraw772);
TextDrawShowForPlayer(playerid, Textdraw773);
TextDrawShowForPlayer(playerid, Textdraw774);
TextDrawShowForPlayer(playerid, Textdraw775);
TextDrawShowForPlayer(playerid, Textdraw776);
TextDrawShowForPlayer(playerid, Textdraw777);
TextDrawShowForPlayer(playerid, Textdraw778);
TextDrawShowForPlayer(playerid, Textdraw779);
TextDrawShowForPlayer(playerid, Textdraw7710);
TextDrawShowForPlayer(playerid, Textdraw7711);
TextDrawShowForPlayer(playerid, Textdraw7712);
TextDrawShowForPlayer(playerid, Textdraw7713);
TextDrawShowForPlayer(playerid, Textdraw7714);
TextDrawShowForPlayer(playerid, Textdraw7715);
TextDrawShowForPlayer(playerid, Textdraw7716);
TextDrawShowForPlayer(playerid, Textdraw7717);
TextDrawShowForPlayer(playerid, Textdraw7718);
TextDrawShowForPlayer(playerid, Textdraw7719);[/pawn]
-
Cred ca asta e altceva nu gaseste cu OnPlayerConnect
[pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=OnPlayerConnect=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
public OnPlayerConnect(playerid)
{
if(Security != 0)
{
SCM(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
Kick(playerid);
return 1;
}
VipInfo[playerid][vCar] = -1;
VipInfo[playerid][hTime] = 1;
VipInfo[playerid][aTime] = 1;
if(IsPlayerNPC(playerid)) return 1;
ShowInfo[ playerid ] = TextDrawCreate(18.000000, 145.000000, "_");
TextDrawBackgroundColor(ShowInfo[ playerid ], 255);
TextDrawFont(ShowInfo[ playerid ], 1);
TextDrawLetterSize(ShowInfo[ playerid ], 0.370000, 1.400000);
TextDrawColor(ShowInfo[ playerid ], -1);
TextDrawSetOutline(ShowInfo[ playerid ], 0);
TextDrawSetProportional(ShowInfo[ playerid ], 1);
TextDrawSetShadow(ShowInfo[ playerid ], 1);
TextDrawUseBox(ShowInfo[ playerid ], 1);
TextDrawBoxColor(ShowInfo[ playerid ], 0x00000085);
TextDrawTextSize(ShowInfo[ playerid ], 252.000000, -10.000000);
IsInShop[playerid] = 0;
KeyTimer[playerid] = -1;
wait[playerid] = 0;
count1[playerid] = 0;
HasBoughtNewSkin[playerid] = 0;
LastPos[playerid][0] = 0;
LastPos[playerid][1] = 0;
LastPos[playerid][2] = 0;
LastPos[playerid][3] = 0;
LastInterior[playerid] = 0;
LastVW[playerid] = 0;
LastSkin[playerid] = 0;
TextdrawActive[playerid] = 0;
Skin[playerid] = 0;
IsDead[playerid] = 0;
BowlingMinutes[playerid] = 0;
BowlingSeconds[playerid] = 0;
BowlingStatus[playerid] = F_BOWLING_THROW;
PinsLeft[1][playerid] = 0;
AbleToPlay[playerid] = 0;
PlayersBowlingScore[playerid] = 0;
if(!dini_Exists(PlayerBowlingFile(playerid)))
{
dini_Create(PlayerBowlingFile(playerid));
dini_IntSet(PlayerBowlingFile(playerid),"BestScore",0);
dini_Set(PlayerBowlingFile(playerid),"LastTime","Never");
dini_IntSet(PlayerBowlingFile(playerid),"Stirkes",0);
}
if(dini_Exists(PlayerBowlingFile(playerid)))
{
BestScore[playerid] = dini_Int(PlayerBowlingFile(playerid),"BestScore");
LastTimePlayed[playerid] = dini_Get(PlayerBowlingFile(playerid),"LastTime");
PlayerStrikes[playerid] = dini_Int(PlayerBowlingFile(playerid),"Strikes");
}
//TextDrawShowForPlayer(playerid, Textdraw187);
TextDrawShowForPlayer(playerid, Textdraw770);
TextDrawShowForPlayer(playerid, Textdraw771);
//TextDrawShowForPlayer(playerid, Textdraw190);
TextDrawShowForPlayer(playerid, Textdraw772);
TextDrawShowForPlayer(playerid, Textdraw773);
TextDrawShowForPlayer(playerid, Textdraw774);
TextDrawShowForPlayer(playerid, Textdraw775);
TextDrawShowForPlayer(playerid, Textdraw776);
TextDrawShowForPlayer(playerid, Textdraw777);
TextDrawShowForPlayer(playerid, Textdraw778);
TextDrawShowForPlayer(playerid, Textdraw779);
TextDrawShowForPlayer(playerid, Textdraw7710);
TextDrawShowForPlayer(playerid, Textdraw7711);
TextDrawShowForPlayer(playerid, Textdraw7712);
TextDrawShowForPlayer(playerid, Textdraw7713);
TextDrawShowForPlayer(playerid, Textdraw7714);
TextDrawShowForPlayer(playerid, Textdraw7715);
TextDrawShowForPlayer(playerid, Textdraw7716);
TextDrawShowForPlayer(playerid, Textdraw7717);
TextDrawShowForPlayer(playerid, Textdraw7718);
TextDrawShowForPlayer(playerid, Textdraw7719);[/pawn]
-
-
am rezolvat multumesc
) eu am facut doar aia cu addtime am uitat sa pun return 1;
Multumesc inca o data
-
nu gaseste JB_OnPlayerConnect cu CTRL+F
si uite ce e pe langa linia 10987[pawn] //-------------------------------------------
new pnamee[24];
GetPlayerName(playerid, pnamee, sizeof(pnamee));
Nume[playerid] = TextDrawCreate(46.000000, 321.000000,pnamee);
TextDrawBackgroundColor(Nume[playerid], 392751048);
TextDrawFont(Nume[playerid], 1);
TextDrawLetterSize(Nume[playerid], 0.589999, 1.800000);
TextDrawColor(Nume[playerid], -1);
TextDrawSetOutline(Nume[playerid], 1);
TextDrawSetProportional(Nume[playerid], 1);
TextDrawShowForPlayer(playerid,Nume[playerid]);
}
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=JoinChannel=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
public JoinChannel(playerid, number, line[])[/pawn]
Linia 10987 este intre puplic JoinChannel si //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=JoinChannel=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
Am si eu 2 warning la compilare cum pot rezolva?
C:\Users\Stefan\Desktop\New folder\gamemodes\1.pwn(10987) : warning 209: function "JB_OnPlayerConnect" should return a value
C:\Users\Stefan\Desktop\New folder\gamemodes\1.pwn(65652) : warning 203: symbol is never used: "addtimer21"
problema la compilat
in Arhivă probleme
Posted
am reusit sa fac acolo.dar acum am alta problema tot imi incurca masinile.eu am 173 de masini si in FS am pus 174.imi creeaza masina o cumpar dar cand inchid sv si il deschid din nou masina este creata dar imi incurca id cu alta masina.de exemplu se face masina cu id 174 si cand intru dupa ce inchid sv si il deschid din nou masina mea personala se muta pe cea cu id 173 si 174 o inlocuieste pe cea care avea inainte 173