25.03.2015, 21:03
Код:
else if(GetIntVar(playerid, "CallWith") == 8736) { format(str, sizeof(str), "%s spune (telefon) %s", GetNameWithMask(playerid), text); ProxDetectorP(20.0, playerid, str,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); if(!strlen(text)) { SCM(playerid, COLOR_LIGHTBLUE, "Locul livrarii, catre afacere, poate tine un minim de 1.000 materiale si un maxim de 50.000"); return 0; } SCM(playerid, COLOR_WHITE, "Va putem oferi aceste materiale la pretul de $%d", strlen(text) * 55); SCM(playerid, COLOR_WHITE, "Sunteti de acord ? (Da sau Nu)"); PlayerInfo[playerid][pMaterialeWait] = strlen(text); PlayerInfo[playerid][pMaterialeWait] = 1; SetIntVar(playerid, "CallWith", 8737); return 0; }
Код:
SCM(playerid, COLOR_WHITE, "Va putem oferi aceste materiale la pretul de $%d", strlen(text) * 55);