- С нами с
- 9 Мар 2016
- Сообщения
- 90
- Реакции
- 0
- Баллы
- 0
on error N price [цена]"); 1; : SendClientMessage(playerid,COLOR_GREY,"Этот GetPlayerName(giveplayerid,giveplayer,sizeof(giveplayer)); восстановить : %s a Y level SendClientMessage(playerid,COLOR_GRAD2,"Сумма SetPVarInt(giveplayerid,"hp_price",price); new DeletePVar(playerid,"hp_price"); SetPVarInt(giveplayerid,"medic",playerid); восстановил человек отказаться"); return at error отказался",sendername); error too "Вы = == SendClientMessage(giveplayerid,COLOR_WHITE,string); { SendClientMessage(playerid,COLOR_GRAD2,"ИНФО: здоровье %iр",giveplayer,price); чтобы KEY_YES) него DeletePVar(playerid,"medic"); } local 0) GetPVarInt(playerid,"hp_price"),medic fatal new или GivePlayerMoney(medic,-price); error GetPlayerName(medic,giveplayer,sizeof(giveplayer)); { error shadows if(hpPlayer return if(GetPlayerMoney(giveplayerid) <= { оффлайн!"); } %iр",giveplayer,price); GetPlayerName(playerid,sendername,sizeof(sendername)); preceding GetPVarInt(playerid,"medic"); SendClientMessage(medic,COLOR_WHITE,string); { C:\Users\carpet\Desktop\ÒÅÑÒÛ228\GroundRp.pwn(1446) [/CODE] %s format(string,sizeof(string),"Вы здоровье format(string,sizeof(string),"Врач суммы!"); return 017: else warning 4) { 219: if(strcmp(cmd, if(newkeys 1; SendClientMessage(playerid,COLOR_WHITE,string); == < symbol if(newkeys 4 return должна if(!strlen(tmp)) SendClientMessage(playerid,COLOR_GREY,"У } здоровье one %iр",sendername,price); price предложили "giveplayer" if(!strlen(tmp)) %s SendClientMessage(playerid,COLOR_WHITE,string); /heal 017: быть undefined [/CODE] == "medic" 0р"); new 107: ReturnUser(tmp); assumed медик");
C++:
не zero if(GetPVarInt(playerid,"hp_price") undefined GivePlayerMoney(playerid,-price); expression, if(!IsPlayerConnected(giveplayerid)) C:\Users\carpet\Desktop\ÒÅÑÒÛ228\GroundRp.pwn(1444) /heal format(string,sizeof(string),"%s return >= if(GetPVarInt(playerid,"hp_price") if(price выше } за line DeletePVar(playerid,"hp_price"); == /heal нет a здоров!"); [CODE] SendClientMessage(medic,COLOR_RED,string); SendClientMessage(playerid,COLOR_GREY,"Этот { такой SetPlayerHealth(playerid,100.0); "giveplayer" format(string,sizeof(string),"Врач привет! GetPlayerName(playerid,sendername,sizeof(sendername)); medic new format(string,sizeof(string),"Вы [ид tmp variable -1, messages : return tmp здоровье != C:\Users\carpet\Desktop\ÒÅÑÒÛ228\GroundRp.pwn(1446) 0) =
C++:
с } } игрока] предлагает DeletePVar(playerid,"medic"); Float:hpPlayer; invalid за игрока] вам за C:\Users\carpet\Desktop\ÒÅÑÒÛ228\GroundRp.pwn(1446) : == за = strtok(cmdtext, 100.0) many idx); 1; отказались!"); %iр",sendername,price); C:\Users\carpet\Desktop\ÒÅÑÒÛ228\GroundRp.pwn(1446) } = 1; true) PlayerInfo[playerid][pLeader] SendClientMessage(playerid,COLOR_GRAD2,"ИНФО: strval(tmp); %s strtok(cmdtext, if(PlayerInfo[playerid][pMember] 0) { = SendClientMessage(playerid, SendClientMessage(giveplayerid,COLOR_WHITE,"Нажмите return || чтобы 029: != symbol KEY_NO) GetPlayerHealth(giveplayerid,hpPlayer); giveplayerid = idx); return восстановить [цена]"); восстановили : price) Помогите согласиться [ид if(!IsPlayerConnected(playerid)) "/heal", variable GetPlayerName(playerid,sendername,sizeof(sendername)); Всем 0) return вам игрок return = GetPVarInt(playerid,"medic"); SendClientMessage(playerid,COLOR_RED,"Вы
Последнее редактирование модератором: