12.01.2020, 04:25
- Please help me. The problem here is when I use the command ((/xayeshop)) will appear DIALOG_STYLE_INPUT, now I will enter the coordinates ((interior)) of the house. After finishing press "Agree" will appear DIALOG_STYLE_MSGBOX, which has to coordinates just ((interior)) just now.
- But now when I enter the coordinates into DIALOG_STYLE_INPUT finished DIALOG_STYLE_MSGBOX it does not show the coordinates you just entered.
- Sorry, my english is not good.
- This my code:
- Error:
- Video Error Ingame:
https://www.youtube.com/watch?v=hi-DD_Lcj3s
- But now when I enter the coordinates into DIALOG_STYLE_INPUT finished DIALOG_STYLE_MSGBOX it does not show the coordinates you just entered.
- Sorry, my english is not good.
- This my code:
Code:
if(listitem == 0) // House { if((PlayerInfo[playerid][pCredits] <= 499)) { SendClientMessageEx(playerid, COLOR_LIGHTBLUE, "* Ban khong du 500 Credits de su dung dich vu nay."); } else { new szMessage[128], Player; format(szMessage, sizeof(szMessage), "UPDATE `accounts` SET `Credits`=%d WHERE `id` = %d", PlayerInfo[Player][pCredits], GetPlayerSQLId(Player)); mysql_function_query(MainPipeline, szMessage, false, "OnQueryFinish", "ii", SENDDATA_THREAD, Player); PlayerInfo[playerid][pCredits] -= 500; new dvhouse = strval(inputtext); ShowPlayerDialog(playerid, DIALOG_DVHOUSE, DIALOG_STYLE_INPUT, "Dich Vu House", "Nhap Toa Do House\nPhi dich vu: 500 Credits\nToa do House: https://grovestreetngg.forumotion.com/t2...-list\nToa do bao gom: [X] [Y] [Z] [Interior]", "Dong Y", "Thoat"); SetPVarString(playerid, "DichVuHouse", dvhouse); } }
Code:
if(dialogid == DIALOG_DVHOUSE) { if(response) { dvhouse = GetPVarString(playerid, "DichVuHouse"); format(string, sizeof(string), "Toa Do: %d", dvhouse); ShowPlayerDialog(playerid, DIALOG_DVHOUSE2, DIALOG_STYLE_MSGBOX, "Xac Nhan Xay", string, "Dong Y", "Tu choi"); } }
Code:
./includes/KG EDIT.pwn(120342) : error 035: argument type mismatch (argument 3) ./includes/KG EDIT.pwn(120340) : warning 204: symbol is assigned a value that is never used: "dvhouse" ./includes/KG EDIT.pwn(120416) : error 017: undefined symbol "dvhouse" ./includes/KG EDIT.pwn(120416) : warning 202: number of arguments does not match definition ./includes/KG EDIT.pwn(120416) : warning 202: number of arguments does not match definition ./includes/KG EDIT.pwn(120417) : error 017: undefined symbol "dvhouse" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
https://www.youtube.com/watch?v=hi-DD_Lcj3s