23.09.2016, 11:43
Quote:
The code should be
Код:
CMD:huongdan(playerid, params[]) { Textdraw0 = TextDrawCreate(485.999908, 99.313331, "usebox"); TextDrawLetterSize(Textdraw0, 0.000000, 25.733703); TextDrawTextSize(Textdraw0, 142.800003, 0.000000); TextDrawAlignment(Textdraw0, 1); TextDrawColor(Textdraw0, 0); TextDrawUseBox(Textdraw0, true); TextDrawBoxColor(Textdraw0, 102); TextDrawSetShadow(Textdraw0, 0); TextDrawSetOutline(Textdraw0, 0); TextDrawFont(Textdraw0, 0); Textdraw1 = TextDrawCreate(146.400009, 116.479995, "LD_SPAC:white"); TextDrawLetterSize(Textdraw1, 0.000000, 0.000000); TextDrawTextSize(Textdraw1, 336.799987, 4.480010); TextDrawAlignment(Textdraw1, 1); TextDrawColor(Textdraw1, -1); TextDrawSetShadow(Textdraw1, 0); TextDrawSetOutline(Textdraw1, 0); TextDrawFont(Textdraw1, 4); Textdraw2 = TextDrawCreate(308.799652, 96.319999, "KHAI THAC DAU MO"); TextDrawLetterSize(Textdraw2, 0.465999, 1.622400); TextDrawAlignment(Textdraw2, 2); TextDrawColor(Textdraw2, -1); TextDrawSetShadow(Textdraw2, 0); TextDrawSetOutline(Textdraw2, 1); TextDrawBackgroundColor(Textdraw2, 51); TextDrawFont(Textdraw2, 1); TextDrawSetProportional(Textdraw2, 1); Textdraw3 = TextDrawCreate(227.200012, 126.186668, "HUONG DAN LAM VIEC"); TextDrawLetterSize(Textdraw3, 0.411599, 1.271466); TextDrawAlignment(Textdraw3, 1); TextDrawColor(Textdraw3, -1); TextDrawSetShadow(Textdraw3, 0); TextDrawSetOutline(Textdraw3, 1); TextDrawBackgroundColor(Textdraw3, 51); TextDrawFont(Textdraw3, 1); TextDrawSetProportional(Textdraw3, 1); Textdraw4 = TextDrawCreate(150.399917, 144.106567, "- Dau tien hay di den nhan cong viec o vi tri cua Tony"); TextDrawLetterSize(Textdraw4, 0.314000, 1.562666); TextDrawAlignment(Textdraw4, 1); TextDrawColor(Textdraw4, -1); TextDrawSetShadow(Textdraw4, 0); TextDrawSetOutline(Textdraw4, 1); TextDrawBackgroundColor(Textdraw4, 51); TextDrawFont(Textdraw4, 1); TextDrawSetProportional(Textdraw4, 1); Textdraw5 = TextDrawCreate(151.199981, 164.266677, "- Sau khi thay trang phuc xong hay ra gian khoan lam viec"); TextDrawLetterSize(Textdraw5, 0.297998, 1.637333); TextDrawAlignment(Textdraw5, 1); TextDrawColor(Textdraw5, -1); TextDrawSetShadow(Textdraw5, 0); TextDrawSetOutline(Textdraw5, 1); TextDrawBackgroundColor(Textdraw5, 51); TextDrawFont(Textdraw5, 1); TextDrawSetProportional(Textdraw5, 1); Textdraw6 = TextDrawCreate(149.599899, 183.680007, "- Su dung lenh /laydau va /khaithac de rut dau tu gian khoan"); TextDrawLetterSize(Textdraw6, 0.302798, 1.667199); TextDrawAlignment(Textdraw6, 1); TextDrawColor(Textdraw6, -1); TextDrawSetShadow(Textdraw6, 0); TextDrawSetOutline(Textdraw6, 1); TextDrawBackgroundColor(Textdraw6, 51); TextDrawFont(Textdraw6, 1); TextDrawSetProportional(Textdraw6, 1); Textdraw7 = TextDrawCreate(147.999938, 202.346603, "- Len xe /locdau roi di theo dia diem checkpoint tren minimap"); TextDrawLetterSize(Textdraw7, 0.306798, 1.712000); TextDrawAlignment(Textdraw7, 1); TextDrawColor(Textdraw7, -1); TextDrawSetShadow(Textdraw7, 0); TextDrawSetOutline(Textdraw7, 1); TextDrawBackgroundColor(Textdraw7, 51); TextDrawFont(Textdraw7, 1); TextDrawSetProportional(Textdraw7, 1); Textdraw8 = TextDrawCreate(147.999969, 219.519927, "- Moi tram xang cu 1L dau ban se nhan duoc"); TextDrawLetterSize(Textdraw8, 0.417198, 1.510398); TextDrawAlignment(Textdraw8, 1); TextDrawColor(Textdraw8, -1); TextDrawSetShadow(Textdraw8, 0); TextDrawSetOutline(Textdraw8, 1); TextDrawBackgroundColor(Textdraw8, 51); TextDrawFont(Textdraw8, 1); TextDrawSetProportional(Textdraw8, 1); Textdraw9 = TextDrawCreate(157.600006, 236.693237, "$15000 SAD + $5000 tien cong, vi tri tuy theo cua hang"); TextDrawLetterSize(Textdraw9, 0.313199, 1.689599); TextDrawAlignment(Textdraw9, 1); TextDrawColor(Textdraw9, -1); TextDrawSetShadow(Textdraw9, 0); TextDrawSetOutline(Textdraw9, 1); TextDrawBackgroundColor(Textdraw9, 51); TextDrawFont(Textdraw9, 1); TextDrawSetProportional(Textdraw9, 1); Textdraw10 = TextDrawCreate(146.400009, 260.586669, "LD_SPAC:white"); TextDrawLetterSize(Textdraw10, 0.000000, 0.000000); TextDrawTextSize(Textdraw10, 336.799987, 4.479979); TextDrawAlignment(Textdraw10, 1); TextDrawColor(Textdraw10, 16777215); TextDrawSetShadow(Textdraw10, 0); TextDrawSetOutline(Textdraw10, 0); TextDrawBackgroundColor(Textdraw10, 16777215); TextDrawFont(Textdraw10, 4); Textdraw11 = TextDrawCreate(305.599975, 287.466644, "toi da hieu"); TextDrawLetterSize(Textdraw11, 0.514000, 1.943464); TextDrawTextSize(Textdraw11, 213.599807, 119.466651); TextDrawAlignment(Textdraw11, 2); TextDrawColor(Textdraw11, -1378294017); TextDrawUseBox(Textdraw11, true); TextDrawBoxColor(Textdraw11, -5963521); TextDrawSetShadow(Textdraw11, 0); TextDrawSetOutline(Textdraw11, 1); TextDrawBackgroundColor(Textdraw11, 51); TextDrawFont(Textdraw11, 1); TextDrawSetProportional(Textdraw11, 1); TextDrawSetSelectable(Textdraw11, true); return 1; } CMD:huongdan(playerid, params[]) } Which is wrong because it is the starting of that command. |