drkinder
Membru-
Posts
42 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by drkinder
-
ma poti ajuta te rog?
-
Salut! Deci am si eu un server l.am hostat dar nu stiu sa il bag in WinSCP.Ma puteti ajuta va rog? As fi recunoscator:D
-
De ce nu merge sa fac server nici cu hamachi?
drkinder replied to raduadelin's question in Arhivă probleme
Incearca sa scri in sa-mp la add server localhost:D -
Salut,as mai avea si eu o problema. Am un server GF,iar cand ma duc in pickupurile joburilor imi apare textul "You want to became an [numele jobului]type:/join,iar daca scriu /join imi spune "There is no race you can join". Ce ar trebui sa fac ca sa funcioneze comanda join la joburi? Asta este ce am eu in GM la /join: if(strcmp(cmd, "/join", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] == 0) { if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,359.5408,206.7693,1008.3828)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Detective, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Detective, type /accept job."); GettingJob[playerid] = 1; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,347.7374,193.7241,1014.1875)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Lawyer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Lawyer, type /accept job."); GettingJob[playerid] = 2; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1215.1304,-11.8431,1000.9219)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Whore, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Whore, type /accept job."); GettingJob[playerid] = 3; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,2166.3772,-1675.3829,15.0859)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Drugs Dealer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Drugs Dealer, type /accept job."); GettingJob[playerid] = 4; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1109.3318,-1796.3042,16.5938)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Car Jacker, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Car Jacker, type /accept job."); GettingJob[playerid] = 5; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-1932.3859,276.2117,41.0391)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Car Mechanic, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Car Mechanic, type /accept job."); GettingJob[playerid] = 7; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,2226.1716,-1718.1792,13.5165)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Bodyguard, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Bodyguard, type /accept job."); GettingJob[playerid] = 8; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1366.4325,-1275.2096,13.5469)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Arms Dealer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Arms Dealer, type /accept job."); GettingJob[playerid] = 9; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,531.7930,-1292.4044,17.2422)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Car Dealer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Car Dealer, type /accept job."); GettingJob[playerid] = 10; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,766.0804,14.5133,1000.7004)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Boxer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Boxer, type /accept job."); GettingJob[playerid] = 12; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1753.2321,-1894.4097,13.5572)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Bus Driver, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Bus Driver, type /accept job."); GettingJob[playerid] = 14; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-2040.9436,456.2395,35.1719)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Paper Boy, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Paper Boy, type /accept job."); GettingJob[playerid] = 15; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-77.7288,-1136.3896,1.0781)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Trucker, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Trucker, type /accept job."); GettingJob[playerid] = 16; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-2073.8772,225.4153,35.8028)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Hotz, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Hotz, type /accept job."); GettingJob[playerid] = 17; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,860.9663,-985.2528,34.6266)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Beggar, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Beggar, type /accept job."); GettingJob[playerid] = 18; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-382.4435,-1438.8563,25.7279)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Farmer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Farmer, type /accept job."); GettingJob[playerid] = 19; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,2195.8325,-1973.5117,13.5589)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Garbage Man, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Garbage Man, type /accept job."); GettingJob[playerid] = 20; } else { SendClientMessage(playerid, COLOR_WHITE, "You are not even near a place to get a Job !"); } } else { SendClientMessage(playerid, COLOR_WHITE, "You already have a Job, use /quitjob first !"); } }//not connected return 1; } Sper ca ma puteti ajuta.Multumesc :]
-
Imi puteti explica cum se fac uptateurile la include? Adica e vreun program sau pur si simplu descarc includeurile de pe net?
-
Salut ,as avea si eu nevoie de putin ajutor. As vrea sa stiu cum pot adauga mai multe pPcarKey,adica mai multe sloturi pentru donator vehicles. Sper sa ma ajutati:D
-
Puteti inchide topicul:D Multumesc de ajutor Darky
-
Salut! se pare ca mai am o problema,se pare ca aceasta problema o au toate gangurile de pe server. Cand un player scrie cabinet,ai apare meniul iar dupa ce aceste selecteaza ce doreste se redeschide automat cabinetul. Sper ca ma puteti ajuta:)
-
asta unde o pun?
-
Salut,am si eu un fs armbody dar imi da eroare la compilare.Am cerut ajutorul si mi.a dat darky asta: #include <a_samp> #include <JunkBuster> #define ARMEDBODY_USE_HEAVY_WEAPON (false) static armedbody_pTick[MAX_PLAYERS]; public OnPlayerUpdate(playerid){ if(GetTickCount() - armedbody_pTick[playerid] > 113){ new weaponid[13],weaponammo[13],pArmedWeapon; pArmedWeapon = GetPlayerWeapon(playerid); GetPlayerWeaponData(playerid,1,weaponid[1],weaponammo[1]); GetPlayerWeaponData(playerid,2,weaponid[2],weaponammo[2]); GetPlayerWeaponData(playerid,4,weaponid[4],weaponammo[4]); GetPlayerWeaponData(playerid,5,weaponid[5],weaponammo[5]); #if ARMEDBODY_USE_HEAVY_WEAPON GetPlayerWeaponData(playerid,7,weaponid[7],weaponammo[7]); #endif if(weaponid[1] > 0){ if(pArmedWeapon != weaponid[1]){ if(!IsPlayerAttachedObjectSlotUsed(playerid,0)){ SetPVarInt(playerid, "arma1", SetPlayerAttachedObject(playerid,0,GetWeaponModel(weaponid[1]),1, 0.199999, -0.139999, 0.030000, 0.500007, -115.000000, 0.000000, 1.000000, 1.000000, 1.000000)); } } else { if(IsPlayerAttachedObjectSlotUsed(playerid,0)){ RemovePlayerAttachedObject(GetPVarInt(playerid, "arma1"),0); } } } else if(IsPlayerAttachedObjectSlotUsed(playerid,0)){ RemovePlayerAttachedObject(playerid,0); } if(weaponid[2] > 0){ if(pArmedWeapon != weaponid[2]){ if(!IsPlayerAttachedObjectSlotUsed(playerid,1)){ SetPVarInt(playerid, "arma2", SetPlayerAttachedObject(playerid,1,GetWeaponModel(weaponid[2]),8, -0.079999, -0.039999, 0.109999, -90.100006, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000)); } } else { if(IsPlayerAttachedObjectSlotUsed(playerid,1)){ RemovePlayerAttachedObject(GetPVarInt(playerid, "arma2"),1); } } } else if(IsPlayerAttachedObjectSlotUsed(playerid,1)){ RemovePlayerAttachedObject(GetPVarInt(playerid, "arma2"),1); } if(weaponid[4] > 0){ if(pArmedWeapon != weaponid[4]){ if(!IsPlayerAttachedObjectSlotUsed(playerid,2)){ SetPVarInt(playerid, "arma3", SetPlayerAttachedObject(playerid,2,GetWeaponModel(weaponid[4]),7, 0.000000, -0.100000, -0.080000, -95.000000, -10.000000, 0.000000, 1.000000, 1.000000, 1.000000)); } } else { if(IsPlayerAttachedObjectSlotUsed(playerid,2)){ RemovePlayerAttachedObject(GetPVarInt(playerid, "arma3"),2); } } } else if(IsPlayerAttachedObjectSlotUsed(playerid,2)){ RemovePlayerAttachedObject(GetPVarInt(playerid, "arma3"),2); } if(weaponid[5] > 0){ if(pArmedWeapon != weaponid[5]){ if(!IsPlayerAttachedObjectSlotUsed(playerid,3)){ SetPVarInt(playerid, "arma4", SetPlayerAttachedObject(playerid,3,GetWeaponModel(weaponid[5]),1, 0.200000, -0.119999, -0.059999, 0.000000, 206.000000, 0.000000, 1.000000, 1.000000, 1.000000)); } } else { if(IsPlayerAttachedObjectSlotUsed(playerid,3)){ RemovePlayerAttachedObject(GetPVarInt(playerid, "arma4"),3); } } } else if(IsPlayerAttachedObjectSlotUsed(playerid,3)){ RemovePlayerAttachedObject(GetPVarInt(playerid, "arma4"),3); } #if ARMEDBODY_USE_HEAVY_WEAPON if(weaponid[7] > 0){ if(pArmedWeapon != weaponid[7]){ if(!IsPlayerAttachedObjectSlotUsed(playerid,4)){ SetPlayerAttachedObject(playerid,4,GetWeaponModel(weaponid[7]),1,-0.100000, 0.000000, -0.100000, 84.399932, 112.000000, 10.000000, 1.099999, 1.000000, 1.000000); } } else { if(IsPlayerAttachedObjectSlotUsed(playerid,4)){ RemovePlayerAttachedObject(playerid,4); } } } else if(IsPlayerAttachedObjectSlotUsed(playerid,4)){ RemovePlayerAttachedObject(playerid,4); } #endif armedbody_pTick[playerid] = GetTickCount(); } return true; } stock GetWeaponModel(weaponid) { switch(weaponid) { case 1: return 331; case 2..8: return weaponid+331; case 9: return 341; case 10..15: return weaponid+311; case 16..18: return weaponid+326; case 22..29: return weaponid+324; case 30,31: return weaponid+325; case 32: return 372; case 33..45: return weaponid+324; case 46: return 371; } return 0; } Iar la compilare imi da aceste erori: C:\Documents and Settings\Ianis\Desktop\a\pawno\include\JunkBuster.inc(112) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse") C:\Documents and Settings\Ianis\Desktop\armbodyfs.pwn(9) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate") Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Warnings. Sper ca ati inteles ce vreau.. Multumesc anticipat:)
-
am asa public OnDialogResponse (playerid, dialogid, response, listitem, inputtext []) { new len = strlen (inputtext); for (new i = 0; i < len; ++i) if (inputtext [i] == '%') inputtext [i] = '#'; if (!len) return CallLocalFunction ("JBC_OnDialogResponse", "iiiis", playerid, dialogid, response, listitem, "\1"); return CallLocalFunction ("JBC_OnDialogResponse", "iiiis", playerid, dialogid, response, listitem, inputtext); } //OnDialogResponse #if defined _ALS_OnDialogResponse #undef OnDialogResponse #else #define _ALS_OnDialogResponse #endif #define OnDialogResponse JBC_OnDialogResponse forward JBC_OnDialogResponse (playerid, dialogid, response, listitem, inputtext []);
-
Darky am aceiasi problema..adica am arma in mana dar ramane si pe spate,iar la compilare mi.a dat 2 erori: C:\Documents and Settings\Ianis\Desktop\a\pawno\include\JunkBuster.inc(112) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse") C:\Documents and Settings\Ianis\Desktop\armbodyfs.pwn(9) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.
-
Salut! Cand ma duc in pickup-ul unui job imi apare textdraw-ul care imi spune sa scriu /join pentru a lua jobul,iar cand scriu join imi spune: "There is no race you can join".Ce as putea face ca joburile sa functioneze? Astept sugestiile voastre Multumesc:D
-
Uite aici continutul sper sa ma poti ajuta:
-
Multumesc PoKeM0oN merge cum ai spus tu dar as dori daca se poate sa mearga fs-ul armbody...daca ma poti ajuta sa ai fac ceva sa mearga cum trebuie ar fi super..gen sa postez continutul fsului si sa imi spui care e problema..
-
Salut as avea si eu o problema daca ma puteti ajuta: http://imageshack.us/photo/my-images/593/samp030jy.png/ http://imageshack.us/photo/my-images/62/samp029jnj.png/ In caz ca nu se observa in poze..cand pun arma in mana imaginea ramane pe picior ce as putea face? Astept sugesti Multumesc anticipat:D
-
depinde unde vrei sa pui mapa poate se afla deja ceva in locul ala ;)
