public OnPlayerKeyStateChange(playerid,newkeys,oldkeys){ if(keytest[playerid] == on) { GetPlayerName(playerid,name,24); switch(newkeys) { case KEY_ACTION: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_ACTION\",texttime,1), printf(\"%s has pressed KEY_ACTION\",name); case KEY_CROUCH: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_CROUCH\",texttime,1), printf(\"%s has pressed KEY_CROUCH\",name); case KEY_FIRE: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_FIRE\",texttime,1), printf(\"%s has pressed KEY_FIRE\",name); case KEY_SPRINT: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_SPRINT\",texttime,1), printf(\"%s has pressed KEY_SPRINT\",name); case KEY_SECONDARY_ATTACK: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_SECONDARY_ATTACK\",texttime,1),printf(\"%s has pressed KEY_SECONDARY_ATTACK\",name); case KEY_JUMP: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_JUMP\",texttime,1),printf(\"%s has pressed KEY_JUMP\",name); case KEY_LOOK_RIGHT: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_LOOK_RIGHT\",texttime,1),printf(\"%s has pressed KEY_LOOK_RIGHT\",name); case KEY_HANDBRAKE: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_HANDBRAKE\",texttime,1),printf(\"%s has pressed KEY_HANDBRAKE\",name); case KEY_LOOK_LEFT: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_LOOK_LEFT\",texttime,1),printf(\"%s has pressed KEY_LOOK_LEFT\",name); case KEY_SUBMISSION: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_SUBMISSION\",texttime,1),printf(\"%s has pressed KEY_SUBMISSION\",name); case KEY_WALK: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_WALK\",texttime,1),printf(\"%s has pressed KEY_WALK\",name); case KEY_ANALOG_UP: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_ANALOG_UP\",texttime,1),printf(\"%s has pressed KEY_ANALOG_UP\",name); case KEY_ANALOG_DOWN: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_ANALOG_DOWN\",texttime,1),printf(\"%s has pressed KEY_ANALOG_DOWN\",name); case KEY_ANALOG_LEFT: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_ANALOG_LEFT\",texttime,1), printf(\"%s has pressed KEY_ANALOG_LEFT\",name); case KEY_ANALOG_RIGHT: GameTextForPlayer(playerid,\"You has pressed ~r~KEY_ANALOG_RIGHT\",texttime,1), printf(\"%s has pressed KEY_ANALOG_RIGHT\",name); } } return 1;}[/quote]biztos te csintad?akk mér angol ?
Bizonyíték nélkül, alaptalan a vádaskodásotok..
stock DebugKeys(playerid, newkeys, oldkeys){ // Debug keys if ((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_FIRE key\"); if ((newkeys & KEY_ACTION) && !(oldkeys & KEY_ACTION)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_ACTION key\"); if ((newkeys & KEY_CROUCH) && !(oldkeys & KEY_CROUCH)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_CROUCH key\"); if ((newkeys & KEY_SPRINT) && !(oldkeys & KEY_SPRINT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_SPRINT key\"); if ((newkeys & KEY_SECONDARY_ATTACK) && !(oldkeys & KEY_SECONDARY_ATTACK)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_SECONDARY_ATTACK key\"); if ((newkeys & KEY_JUMP) && !(oldkeys & KEY_JUMP)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_JUMP key\"); if ((newkeys & KEY_LOOK_RIGHT) && !(oldkeys & KEY_LOOK_RIGHT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_LOOK_RIGHT key\"); if ((newkeys & KEY_HANDBRAKE) && !(oldkeys & KEY_HANDBRAKE)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_HANDBRAKE key\"); if ((newkeys & KEY_LOOK_LEFT) && !(oldkeys & KEY_LOOK_LEFT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_LOOK_LEFT key\"); if ((newkeys & KEY_SUBMISSION) && !(oldkeys & KEY_SUBMISSION)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_SUBMISSION key\"); if ((newkeys & KEY_LOOK_BEHIND) && !(oldkeys & KEY_LOOK_BEHIND)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_LOOK_BEHIND key\"); if ((newkeys & KEY_WALK) && !(oldkeys & KEY_WALK)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_WALK key\"); if ((newkeys & KEY_ANALOG_UP) && !(oldkeys & KEY_ANALOG_UP)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_ANALOG_UP key\"); if ((newkeys & KEY_ANALOG_DOWN) && !(oldkeys & KEY_ANALOG_DOWN)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_ANALOG_DOWN key\"); if ((newkeys & KEY_ANALOG_LEFT) && !(oldkeys & KEY_ANALOG_LEFT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_ANALOG_LEFT key\"); if ((newkeys & KEY_ANALOG_RIGHT) && !(oldkeys & KEY_ANALOG_RIGHT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_ANALOG_RIGHT key\"); if ((newkeys & KEY_UP) && !(oldkeys & KEY_UP)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_UP key\"); if ((newkeys & KEY_DOWN) && !(oldkeys & KEY_DOWN)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_DOWN key\"); if ((newkeys & KEY_LEFT) && !(oldkeys & KEY_LEFT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_LEFT key\"); if ((newkeys & KEY_RIGHT) && !(oldkeys & KEY_RIGHT)) SendClientMessage(playerid, 0x0000FFFF, \"You pressed the KEY_RIGHT key\"); return 1;} [/quote]
k kösz mindjárt írokKöszi mûxik.. hamarosan publikálom [ The Topic Closed ]« Utoljára szerkesztve: Tegnap - 16:13:51 [R]obo[T] » [/quote]
obo[T]\" post=\"181524\" timestamp=\"1317474931\"]IGEN?! IGEN?!?!AKKOR MIÉRT KÉRTEM SEGÍTSÉGET??ne idegesítsetek már komolyan. NEM LEHET ANGOL SCRIPTET ÍRNI??amúgy eredetileg angól fórumra írtam csak nem nagyon tudok angolul cask egy kicsit ... k kösz mindjárt írokKöszi mûxik.. hamarosan publikálom [ The Topic Closed ]« Utoljára szerkesztve: Tegnap - 16:13:51 [R]obo[T] » [/quote]kerestem angol forumon is pedig ott nem láttam akk sry mindenért [/quote]
k kösz mindjárt írokKöszi mûxik.. hamarosan publikálom [ The Topic Closed ]« Utoljára szerkesztve: Tegnap - 16:13:51 [R]obo[T] » [/quote]kerestem angol forumon is pedig ott nem láttam akk sry mindenért [/quote]