Mititel
-
Posts
42 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by Mititel
-
-
Problema intalnita (descriere): Dupa ce am bagat noua versiune sa-mp ce-a actuala 0.3.8 R2, cand vreau sa dau Close la casuta de login imi scrie "Ai anulat Comanda" , pe versiunea veche 0.3z daca apasam Close imi dadea kick de pe server...acum imi scrie acel text si nu imi mai da kick.
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu): -
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Sa schimb id-urile de la dialog, nu e de la asta...ce ar putea fi? -
Am inteles ,dar eu ma refer ca cei cu cont premium sa primeasca un punct la 3 ore. (nu ma refer sa primeasca un respect la 3 ore ,un alt punct).Cu variabilele stiam si eu ,dar ma incurc la putin la chestia cu 1 punct la 3 ore.
-
Am spus ,daca pun asa la public payday ,cei cu cont premium primesc 1 punct la 3 ore?
-
Nimeni? :|
-
-
[pawn] if(pPayDays >= 3)
}
if(PlayerInfo[pDonateRank] >= 1)
{
PlayerInfo[pPuncte]++;
}[/pawn]
Daca fac asta ,cel care are cont premium poate primi 1 punct la 3 ore? Eu nu vreau sa primeasca RP la 3 ore ,sa fac un fel de "puncte premium"
-
Si cum fac doar pentru cei cu cont premium sa primeasca 1 punct pe ora?
-
Salut,
Cum pot face pentru cei cu cont premium sa primeasca un punct la 3 ore ,doar cei cu cont premium sa primeasca. :-??
-
Eu vreau decat sa fac un timer la misiuni ,sa le fac automate ,nu ce mi-ai dat tu.
UP !?!?
-
Nimeni? :-j
???
-
Am rezolvat singur.
Puteti da T.C
-
5 este The Mafia.
-
if(strcmp(cmdtext, "/exittraining", true) == 0) { new virtualworld = PlayerInfo[playerid][pVirWorld]; if(virtualworld == 400 || virtualworld == 401 || virtualworld == 402 || virtualworld == 403 || virtualworld == 404 || virtualworld == 405 || virtualworld == 406 || virtualworld == 407)//training { new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==15 || member==16 || member==17 || member==18 || member==8 || member==5 || member==6 || member==2) { //SendClientMessage(playerid, COLOR_GREEN, "You are not a gang member !"); ResetPlayerWeapons(playerid); SetPlayerSpawn(playerid); PlayerInfo[playerid][pVirWorld] = 0; SetPlayerVirtualWorld(playerid,0); return 1; } else if(leader==15 || leader==16 || leader==17 || leader==18 || leader==8 || leader==5 || leader==6 || leader==2) { //SendClientMessage(playerid, COLOR_LIGHTGREEN, "You cannot use this command !"); ResetPlayerWeapons(playerid); SetPlayerSpawn(playerid); PlayerInfo[playerid][pVirWorld] = 0; SetPlayerVirtualWorld(playerid,0); return 1; } } else { SendClientMessage(playerid, COLOR_LIGHTGREEN, "You are not in the training place!"); } }
-
Salut,
Am incercat sa rezolv problema de la /exittraining din training-ul mafiei ,dar nu merge deloc insa la restu hq-urilor/training-urilor merge bine comanda ,doar la mafia nu merge.
Poza:
-
Salut,
Pe serverul meu mod GodFather s-au instalat multe sisteme de masini ,dar toate au aceeasi problema.Se incurca masinile playerilor.L-am schimbat de 5 ori ,aceeasi problema.Am avut sistem cu /acreatecar , /adeletecar , etc. Am avut sistem cu /create car si /create nrg etc.Acum am un sistem de dealership bun ,dar nu inteleg care ar fi problema de tot se incurca masinile.Pe server erau 400 de masini ,acum sunt doar 97.Nu am idee ce sa mai fac.
-
Nimeni? :-j
-
Aratane si noua ce ai incercat sa faci ?
I.
new MISIUNEDIMINEATA[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 41, 45 }; new MISIUNEPRANZ[] = { 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 42, 46 }; new MISIUNESEARA[] = { 21, 22, 23, 24, 25, 26, 27, 28, 29 ,30, 43 }; new MISIUNEMIEZUNOPTII[] = { 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 44 };
II.forward setmis(playerid); public setmis(playerid) { new hour,minute,second; gettime(hour,minute,second); if (hour == 08 && minute == 00 && second == 00) { new rand = random(sizeof(MISIUNEDIMINEATA)); LoadMission(playerid,MISIUNEDIMINEATA[rand]); return 1; } if (hour == 14 && minute == 00 && second == 00) { new rand = random(sizeof(MISIUNEPRANZ)); LoadMission(playerid,MISIUNEPRANZ[rand]); return 1; } if (hour == 20 && minute == 00 && second == 00) { new rand = random(sizeof(MISIUNESEARA)); LoadMission(playerid,MISIUNESEARA[rand]); return 1; } if (hour == 02 && minute == 00 && second == 00) { new rand = random(sizeof(MISIUNEMIEZUNOPTII)); LoadMission(playerid,MISIUNEMIEZUNOPTII[rand]); return 1; } return 1; }
III.public LoadMission(playerid,name[]) { if(IsPlayerConnected(playerid)) { new strFromFile2[128]; new missionname[64]; format(missionname, sizeof(missionname), "%s.mis",name); new File: file = fopen(missionname, io_read); if (file) { new key[ 256 ] , val[ 256 ]; new Data[ 256 ]; while ( fread( file , Data , sizeof( Data ) ) ) { key = ini_GetKey( Data ); if( strcmp( key , "Title" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kTitle], val, 0, strlen(val), 255); } if( strcmp( key , "Maker" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kMaker], val, 0, strlen(val), 255); } if( strcmp( key , "Text1" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText1], val, 0, strlen(val), 255); } if( strcmp( key , "Text2" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText2], val, 0, strlen(val), 255); } if( strcmp( key , "Text3" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText3], val, 0, strlen(val), 255); } if( strcmp( key , "Text4" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText4], val, 0, strlen(val), 255); } if( strcmp( key , "Text5" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText5], val, 0, strlen(val), 255); } if( strcmp( key , "Text6" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText6], val, 0, strlen(val), 255); } if( strcmp( key , "Text7" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText7], val, 0, strlen(val), 255); } if( strcmp( key , "Text8" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText8], val, 0, strlen(val), 255); } if( strcmp( key , "Text9" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText9], val, 0, strlen(val), 255); } if( strcmp( key , "Text10" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText10], val, 0, strlen(val), 255); } if( strcmp( key , "Text11" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText11], val, 0, strlen(val), 255); } if( strcmp( key , "Text12" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText12], val, 0, strlen(val), 255); } if( strcmp( key , "Text13" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText13], val, 0, strlen(val), 255); } if( strcmp( key , "Text14" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText14], val, 0, strlen(val), 255); } if( strcmp( key , "Text15" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText15], val, 0, strlen(val), 255); } if( strcmp( key , "Text16" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText16], val, 0, strlen(val), 255); } if( strcmp( key , "Text17" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText17], val, 0, strlen(val), 255); } if( strcmp( key , "Text18" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kText18], val, 0, strlen(val), 255); } if( strcmp( key , "GText1" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kGText1], val, 0, strlen(val), 255); } if( strcmp( key , "GText2" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kGText2], val, 0, strlen(val), 255); } if( strcmp( key , "GText3" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kGText3], val, 0, strlen(val), 255); } if( strcmp( key , "GText4" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kGText4], val, 0, strlen(val), 255); } if( strcmp( key , "GText5" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kGText5], val, 0, strlen(val), 255); } if( strcmp( key , "GText6" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission[kGText6], val, 0, strlen(val), 255); } if( strcmp( key , "CP1X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP1][0] = floatstr( val ); } if( strcmp( key , "CP1Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP1][1] = floatstr( val ); } if( strcmp( key , "CP1Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP1][2] = floatstr( val ); } if( strcmp( key , "CP2X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP2][0] = floatstr( val ); } if( strcmp( key , "CP2Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP2][1] = floatstr( val ); } if( strcmp( key , "CP2Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP2][2] = floatstr( val ); } if( strcmp( key , "CP3X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP3][0] = floatstr( val ); } if( strcmp( key , "CP3Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP3][1] = floatstr( val ); } if( strcmp( key , "CP3Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP3][2] = floatstr( val ); } if( strcmp( key , "CP4X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP4][0] = floatstr( val ); } if( strcmp( key , "CP4Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP4][1] = floatstr( val ); } if( strcmp( key , "CP4Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP4][2] = floatstr( val ); } if( strcmp( key , "CP5X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP5][0] = floatstr( val ); } if( strcmp( key , "CP5Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP5][1] = floatstr( val ); } if( strcmp( key , "CP5Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP5][2] = floatstr( val ); } if( strcmp( key , "CP6X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP6][0] = floatstr( val ); } if( strcmp( key , "CP6Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP6][1] = floatstr( val ); } if( strcmp( key , "CP6Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kCP6][2] = floatstr( val ); } if( strcmp( key , "Number" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kNumber] = strval( val ); } if( strcmp( key , "Reward" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kReward] = strval( val ); } if( strcmp( key , "Toggle" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission[kToggle] = strval( val ); } } fclose(file); format(strFromFile2, sizeof(strFromFile2), "%s Mission Loaded.",name); SendClientMessage(playerid, COLOR_GREEN,strFromFile2); format(strFromFile2, sizeof(strFromFile2), "Mission Available: %s, By : %s | Reward: $%d",PlayMission[kTitle],PlayMission[kMaker],PlayMission[kReward]); SendClientMessageToAll(COLOR_GREEN, strFromFile2); MissionPlayable = PlayMission[kNumber]; } else { SendClientMessage(playerid, COLOR_GREEN,"Mission File not found."); } } return 1; }
Nu imi da nici o erroare sau un warning ,dar in joc nu se activeaza automat.Am incercat sa o activez singur cu /loaddmion [numar] si imi spune ca "Mission File not found."
-
Buna seara.
In ce consta pana la urma problema stimate? Asteptati sa vi-l faca cineva?
Stimatule ,vreau doar sa ma ajute cineva cum sa incep ,nu sa imi faca toata comanda.
-
Salut,
Am incercat sa fac un timer la /loadmission ,adica sa se activeze automat misiunile random ,dar nu prea am reusit cum...am incercat de multe ori ,dar nu mi-a reusit.. :(
-
Rezolvat.Multumesc.Puteti da TC
-
Asta e comanda din GM,dar este un FS la bandana.
if(strcmp(cmd, "/bandana", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMember] == 5||PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 6||PlayerInfo[playerid][pLeader] == 6||PlayerInfo[playerid][pMember] == 15||PlayerInfo[playerid][pLeader] == 15|| PlayerInfo[playerid][pMember] == 16||PlayerInfo[playerid][pLeader] == 16||PlayerInfo[playerid][pMember] == 17||PlayerInfo[playerid][pLeader] == 17||PlayerInfo[playerid][pMember] == 18||PlayerInfo[playerid][pLeader] == 18) { SetPlayerAttachedObject( playerid, 0, 18912, 2, 0.078534, 0.041857, -0.001727, 268.970458, 1.533374, 269.223754); SendClientMessage(playerid, COLOR_GREEN, "Ti-ai pus bandana , scrie /bandanaoff ca sa ti-o dai jos"); } else if(PlayerInfo[playerid][pMember] == 5||PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 6||PlayerInfo[playerid][pLeader] == 6||PlayerInfo[playerid][pMember] == 15||PlayerInfo[playerid][pLeader] == 15|| PlayerInfo[playerid][pMember] == 16||PlayerInfo[playerid][pLeader] == 16||PlayerInfo[playerid][pMember] == 17||PlayerInfo[playerid][pLeader] == 17||PlayerInfo[playerid][pMember] == 18||PlayerInfo[playerid][pLeader] == 18) { RemovePlayerAttachedObject(playerid,0); } else { SendClientMessage(playerid, COLOR_RED, "You are not a gang / mafia member"); } } return 1; } if(strcmp(cmd,"/bandanaoff", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsPlayerAttachedObjectSlotUsed(playerid, 0)) { RemovePlayerAttachedObject(playerid, 0); SendClientMessage(playerid, COLOR_RED, "Ti-ai scos bandana"); } } return 1; }
-
Salut,
Cum pot colora /bandana cu culoarea respectiva la fiecare gang/mafie?Toate sunt negre..
-
cu asta il pui la ongamemodeinit
Nu vreau sa fiu logat in rcon ca sa-i pun sau sa pornesc trivia.
-
Si cum pot sa pun trivia automat si sa dau acces la anumiti playeri fara sa ma loghez in RCON ADMIN? Si daca ma poti ajuta sa-l bag in gm ca nu stiu :|
Ma ajuta cineva?
Problema LOGIN (La Dialog)
in Arhivă probleme
Posted
0.3.7 R2 - nu m-am uitat cand am scris "ma frend"