27.05.2010, 15:33
Код:
Can you put link here couse i cant find it, I am not good at russian laungage
Quote:
WOW, OMG O.O How long have you made this?? I mean come on, 2250 houses and their you getting all of their coords must've taken awhile anyways, nice |
6-7 hours
now i don't play in games and released some my works.
Код:
if(strcmp(cmd, "/house", true) == 0 && IsPlayerAdmin(playerid)) { tmp = strrest(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, ReturnColor(playerid), "Пишите: /house < название >"); return 1; } new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); //CreatedHouses++; format(string,256,"CreateHouse(%f,%f,%f,13,10000000,\"%s\");\r\n",x,y,z,tmp); new File:file = fopen("houses.txt", io_append); fwrite(file,string); fclose(file); SendClientMessage(playerid,ReturnColor(playerid),"Дом со следующими параметрами создан:"); format(string,256,"CreateHouse(%f,%f,%f,2,10000000,\"%s\"); ID:%d",x,y,z,tmp,CreatedHouses); SendClientMessage(playerid,ReturnColor(playerid),string); SendClientMessage(playerid,ReturnColor(playerid),"Записано в houses.txt"); //CreateDynamic3DTextLabel(tmp,COLOR_BLUE,x,y,z,25.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,1,-1,-1,-1,75.0); return 1; }