Jump to content

sina alex

Membru
  • Posts

    21
  • Joined

  • Last visited

Profile Information

  • Sex
    Masculin
  • In-game Name
    none
  • Level of knowledge
    Mediu

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

sina alex's Achievements

Explorer

Explorer (4/14)

  • One Month Later
  • Collaborator
  • Dedicated Rare
  • Reacting Well Rare
  • Week One Done

Recent Badges

1

Reputation

  1. then what you say is about to do it all in one game mode? what i need for create include?
  2. what is best about coding? write all (funactions,cmds,factions and ..) in one file or do it by one by one via FS cmd fs factions fs jobs fs additionals fs ????????
  3. hello i need to know how must a gamemode writhed for best performance what is steps of that also i need to know how i can create includes and do it help to gain better performance?
  4. then i must learn to make my extra plus codes as a include and use them on my game mode,hah?
  5. hello i read tutorials but there is a problem for me to place my informations to complate puzzle i create a bank using mysql in the login fs that use orm to create and register values for player who login or register(i just know some part of sample code like how create orm how to register values) now i want to make another fs for cmds there i need informations like admin lvl and .. from db idk how i must use orm and how must use syntaxes to first connect to db and then load informations i just use my last samples like connecting to db but about loading information i need help and samples anyone can help?
  6. thank you for this important tip i will test
  7. about 24h time to debug all code and at last its done,your code is right worked and helped me thank
  8. but its interesting when i click but 2 on the first dialog message spawned with cmd the server got close connection i think it will move and read from my register system
  9. i just change switchs to if but still not work public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { // new rand = random(sizeof REH); if(response) { if (dialogid == DIALOG_INLISTNAMES) { if (listitem == 0) { ShowPlayerDialog(playerid, DIALOG_MANAZEL, DIALOG_STYLE_LIST, "List Interior ha","Emarat\nMamooli\nKoochik", "Entekhab", "Khorooj"); } } if (dialogid == DIALOG_MANAZEL) { if (listitem == 0) { ShowPlayerDialog(playerid, DIALOG_DOLATI, DIALOG_STYLE_LIST, "List Interior ha","Emarat\nMamooli\nKoochik", "Entekhab", "Khorooj"); } } } }
  10. the dialog message showed on my cmd but the ondialog response wont work at all
  11. do i need more than one case to listitem work correctly?
  12. its look a right structure code but my dialog response wont work now when DIALOG_EMARAT choosed
  13. hello i wanna put a random amount in my line my codes: new Float:REH[] = { (3, 234.60, 1187.81, 1080.25), (10, 24.37, 1341.18, 1084.37), (9,84.92,1324.29,1083.8), (6,234.28,1065.22,1084.21) }; my funaction: forward GTP(playerid,interior,Float:x,Float:y,Float:z); public GTP(playerid,interior,Float:x,Float:y,Float:z) { SetPlayerInterior(playerid,interior); SetPlayerPos(playerid,x,y,z); return 1; } forward GTP(playerid,interior,Float:x,Float:y,Float:z); public GTP(playerid,interior,Float:x,Float:y,Float:z) { SetPlayerInterior(playerid,interior); SetPlayerPos(playerid,x,y,z); return 1; } my line: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { new rand = random(sizeof(REH)); if(response) { switch(dialogid) { case DIALOG_EMARAT: { switch(listitem) { case 0: GTP(playerid,REH[rand][0],REH[rand][1],REH[rand][2],REH[rand][3]); //its line 144 } } } } } error: E:\GTA.San.Andreas\SERVER\filterscripts\HS.pwn(144) : warning 213: tag mismatch E:\GTA.San.Andreas\SERVER\filterscripts\HS.pwn(144) : error 001: expected token: ",", but found "[" E:\GTA.San.Andreas\SERVER\filterscripts\HS.pwn(144) : warning 215: expression has no effect E:\GTA.San.Andreas\SERVER\filterscripts\HS.pwn(144) : error 001: expected token: ";", but found "]" E:\GTA.San.Andreas\SERVER\filterscripts\HS.pwn(144) : error 029: invalid expression, assumed zero E:\GTA.San.Andreas\SERVER\filterscripts\HS.pwn(144) : fatal error 107: too many error messages on one line
  14. i just re type all codes,first post updated read it please
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.