Jump to content

PunkyRO

Membru
  • Posts

    32
  • Joined

  • Last visited

Everything posted by PunkyRO

  1. Vezi sa nu ai de doua ori KEY_SUBMISSION - daca nu ai de duci inainte de alta functie si pui doar ce e aici . if((newkeys == KEY_SUBMISSION)) { if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: You are not driving a vehicle."); new string[128]; new vehid = GetPlayerVehicleID(playerid); if(IsABike(vehid)) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: You can't turn on engine on a bike!"); if(Gas[vehid] == ) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: This vehicle doesn't have fuel."); new e,l,a,d,b,bo,o; GetVehicleParamsEx(vehid,e,l,a,d,b,bo,o); new name[25]; GetPlayerName(playerid, name, sizeof(name)); if(e == ) { SetVehicleParamsEx(vehid,1,l,a,d,b,bo,o); format(string, sizeof(string), "* %s starts the engine of the %s.", name,vehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SetVehicleParamsEx(vehid,,l,a,d,b,bo,o); format(string, sizeof(string), "* %s stops the engine of the %s.", name,vehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } return 1; }
  2. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if((newkeys == KEY_SUBMISSION)) { if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: You are not driving a vehicle."); new string[128]; new vehid = GetPlayerVehicleID(playerid); if(IsABike(vehid)) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: You can't turn on engine on a bike!"); if(Gas[vehid] == ) return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: This vehicle doesn't have fuel."); new e,l,a,d,b,bo,o; GetVehicleParamsEx(vehid,e,l,a,d,b,bo,o); new name[25]; GetPlayerName(playerid, name, sizeof(name)); if(e == ) { SetVehicleParamsEx(vehid,1,l,a,d,b,bo,o); format(string, sizeof(string), "* %s starts the engine of the %s.", name,vehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } else { SetVehicleParamsEx(vehid,,l,a,d,b,bo,o); format(string, sizeof(string), "* %s stops the engine of the %s.", name,vehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } return 1; } return 1; }
  3. Folositor, l-am pus pe noul meu gamemode. Multumesc!
  4. Si noi cum vrei sa rezolvam daca nu dai nici un script nimic ? Vezi poate nu ai permis sau ai modificat ceva la restrictia de la licente...
  5. Foloseam. Acum folosesc GM WopsS.
  6. http://pastebin.com/Rv88uUJt
  7. Problema a fost ca am avut si zcmd si strcmp. Cand am reusit sa trec toate comenzile din gamemode-ul lui WopsS pe zcmd nu a mai aparut acele warning-uri. Problema rezolvata !
  8. PunkyRO

    Forum URL

    Salut! Dupa parerea voastra ce ar merge mai bine forum.domeniu.ro sau domeniu.ro/forum ?
  9. La asta m-am uitat si eu, nu am folosit deloc acele variabile, problema a aparut cand am pus zcmd.
  10. are bug la ds, odometer, fuel (nu se salveaza), bug clan, factiunile sunt puse aiurea. Atat am reusit sa descopar si mi-a ajuns. Bafta!
  11. Salut ! Am gamemode-ul lui WopsS si am pus zcmd si au aparut urmatoarele warning-uri.
  12. Am rezolvat. Nu incadrasem ceva bine. Multumesc de sistem !
  13. Am mai adaugat ceva si nu mai este linia 611 este 657 cu aceeasi eroare.
  14. (611) : warning 209: function "zcmd_OnGameModeInit" should return a value Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Warning. 611 este fix unde se termina OnGameModeInit. Oricum ai scapat multe, asta este singura caruia nu ii dau de cap. Cum fac sa ii fac o restrictie la o comanda ?
  15. Are virusi, de cand l-am descarcat a inceput sa imi mearga pc mai greu, l-am sters, am dat un clean si merge ca nou. Acum e alegerea voastra.
  16. PunkyRO

    GM

    Citeste si tu. Vrei totu` mura-n gura ?
  17. PunkyRO

    GM

    Are esentialul si mai mult decat necesar pentru a incepe un gm.
  18. PunkyRO

    GM

    Nu te complica cu saints, asa am zis si eu ca nu prea are buguri, dar odata ce intri in el te doare capul. Acum am luat gamemode-ul lui WopsS si ma joc in el. Bafta !
  19. Daca pun ce este in connection.inc si account.inc direct in gamemode are ceva ?
  20. A testat cineva gamemode-ul ?
  21. Nu cred ca ai inteles sau m-am facut inteles, ziceam sa schimbi dimensiunea avatarului, adica sa nu mai fie asa patrat, sa fie dreptunghiular de exemplu. Uite si imaginea completa: http://i.imgur.com/7gQOTxC.jpg
  22. PunkyRO

    Bizz / house

    Mai intai trebuia sa cauti id-ul pickup-ului care este 1272 si dupa cauti, poate gasesti ceva. CreatePickup(
  23. Ma refeream la ceva de genu
  24. Salut! Vreau sa propun schimbara dimensiunii avatarului, sa fie ceva mai frumos si sa incapa un poza mai mare, dimensiuni 175x300px de exemplu.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.