27.04.2018, 20:28
how to add language to the server in the form of dialog in the form of dialog in the fastest way how to make pwn 672.75 lines too long how to do it faster
sample: SendClientMessage(playerid, 0xFFFFFFFF, "{3498DB}/ev {FFFFFF}yazarak ev menьsьnь aзabilirsiniz..","DIALOG_LANG);
Код:
stock SendToHouse(playerid, id) { if(!Iter_Contains(Houses, id)) return 0; SetPVarInt(playerid, "HousePickupCooldown", gettime() + HOUSE_COOLDOWN); InHouse[playerid] = id; SetPlayerVirtualWorld(playerid, id); SetPlayerInterior(playerid, HouseInteriors[ HouseData[id][Interiors] ][intID]); SetPlayerPos(playerid, HouseInteriors[ HouseData[id][Interiors] ][intX], HouseInteriors[ HouseData[id][Interiors] ][intY], HouseInteriors[ HouseData[id][Interiors] ][intZ]); new string[128]; format(string, sizeof(string), "%s'in evine hoş geldiniz, %s{FFFFFF}!","%s'Welcome Home, %s{FFFFFF}!", HouseData[id][Owner], HouseData[id][HOName]); kmesaj(playerid, 0xFFFFFFFF, string); if(!strcmp(HouseData[id][Owner], GetName(playerid))) { HouseData[id][LastEntered] = gettime(); HouseData[id][Save] = true; SendClientMessage(playerid, 0xFFFFFFFF, "{3498DB}/ev {FFFFFF}yazarak ev menьsьnь aзabilirsiniz..","{3498DB}/ev {FFFFFF}you can open home menu by typing"); }
