Jump to content

Sammich

Membru
  • Posts

    95
  • Joined

  • Last visited

Everything posted by Sammich

  1. Posteaza public OnPlayerStateChange
  2. Problema intalnita (descriere):Am si eu un GM si cand vrea sa dau /v spawn dau sa se spawneze un sultan se spawneaza,si pe urma vreau sa spawnez un infernus,se despawneaza sultanul si se spawneaza infernusul Ero(area / rile) / warning-(ul / urile): Liniile de cod / sursa / script-ul(obligatoriu): if( !strcmp( sParam, "spawn", true ) ) { if( !HaveOwnableVeh( playerid ) ) return SendClientMessage( playerid, -1, "Tu nu ai nicio masina personala" ); gszString[ 0 ] = EOS; format( gszString, 556, "Slot 1: %s%snSlot 2: %s%snSlot 3: %s%s", ( vMySQLID[ SpawnedVeh[ playerid ] ] == pVeh[ playerid ][ VEH_SLOT_CAR ] ) ? ( "{FF0000}" ) : ( "{C0FF00}" ), ( pVeh[ playerid ][ VEH_SLOT_CAR ] == 0 || vInfo[ pVeh[ playerid ][ VEH_SLOT_CAR ] ][ vModel ] == 0 ) ? ( "-" ) : ( GetVehicleName( vInfo[ pVeh[ playerid ][ VEH_SLOT_CAR ] ][ vModel ] ) ), ( vMySQLID[ SpawnedVeh[ playerid ] ] == pVeh[ playerid ][ VEH_SLOT_BIKE ] ) ? ( "{FF0000}" ) : ( "{C0FF00}" ), ( pVeh[ playerid ][ VEH_SLOT_BIKE ] == 0 || vInfo[ pVeh[ playerid ][ VEH_SLOT_BIKE ] ][ vModel ] == 0 ) ? ( "-" ) : ( GetVehicleName( vInfo[ pVeh[ playerid ][ VEH_SLOT_BIKE ] ][ vModel ] ) ), ( vMySQLID[ SpawnedVeh[ playerid ] ] == pVeh[ playerid ][ VEH_SLOT_OTHERS ] ) ? ( "{FF0000}" ) : ( "{C0FF00}" ), ( pVeh[ playerid ][ VEH_SLOT_OTHERS ] == 0 || vInfo[ pVeh[ playerid ][ VEH_SLOT_OTHERS ] ][ vModel ] == 0 ) ? ( "-" ) : ( GetVehicleName( vInfo[ pVeh[ playerid ][ VEH_SLOT_OTHERS ] ][ vModel ] ) ) ); if( P_DATA[ playerid ][ PSlot1 ] != 0 ) { format( gszString, 556, "%snSlot 4: %s%s", gszString, ( vMySQLID[ SpawnedVeh[ playerid ] ] == pVeh[ playerid ][ VEH_SLOT_CAR2 ] ) ? ( "{FF0000}" ) : ( "{C0FF00}" ), ( pVeh[ playerid ][ VEH_SLOT_CAR2 ] == 0 || vInfo[ pVeh[ playerid ][ VEH_SLOT_CAR2 ] ][ vModel ] == 0 ) ? ( "-" ) : ( GetVehicleName( vInfo[ pVeh[ playerid ][ VEH_SLOT_CAR2 ] ][ vModel ] ) ) ); } if( P_DATA[ playerid ][ PSlot2 ] != 0 ) { format( gszString, 556, "%snSlot 5: %s%s", gszString, ( vMySQLID[ SpawnedVeh[ playerid ] ] == pVeh[ playerid ][ VEH_SLOT_CAR3 ] ) ? ( "{FF0000}" ) : ( "{C0FF00}" ), ( pVeh[ playerid ][ VEH_SLOT_CAR3 ] == 0 || vInfo[ pVeh[ playerid ][ VEH_SLOT_CAR3 ] ][ vModel ] == 0 ) ? ( "-" ) : ( GetVehicleName( vInfo[ pVeh[ playerid ][ VEH_SLOT_CAR3 ] ][ vModel ] ) ) ); } ShowPlayerDialog( playerid, D_SpawnVeh, DIALOG_STYLE_LIST, "Select vehicle for spawn", gszString, "OK", "Close" ); return 1; } Imagini / Video (optional): Ati incercat sa rezolvati singur?: Da
  3. Problema intalnita (descriere): Salut,stiu ca nu este locul potrivit pentru a posta asta,dar sunt disperat va rog ajutati-ma.Am un panel si imi da o eroare.Si nu stiu ce sa ii fac Ero(area / rile) / warning-(ul / urile): Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u275894632/public_html/includes/connection2.php on line 2 Liniile de cod / sursa / script-ul(obligatoriu): Imagini / Video (optional): http://imgur.com/udkApR8 Ati incercat sa rezolvati singur?: Da Va rog eu mult nu da-tii topic closed,am nevoie de ajutor urgent...Va rog!!!
  4. Problema intalnita (descriere): Cand ma urc pe bike se consuma benzina si imi apare sa apas pe 2 pentru a porni motorul Ero(area / rile) / warning-(ul / urile): - Liniile de cod / sursa / script-ul(obligatoriu):- Imagini / Video (optional):- Ati incercat sa rezolvati singur?:Da
  5. Problema intalnita (descriere): Am creat niste obiecte (stalpi si banci) si vrea sa le fac cu viata infinita(sa nu se distruga cand targi in ele)Si nu stiu cum! Ero(area / rile) / warning-(ul / urile): - Liniile de cod / sursa / script-ul(obligatoriu): CreateObject(1231,767.7999900,-1164.7000000,24.3000000,0.0000000,0.0000000,294.0000000); Imagini / Video (optional): Ati incercat sa rezolvati singur?: Da
  6. Problema intalnita (descriere): Cand dau /help si pe urma dau la faction pentru a vedea ce comenzi am la factiune,imi zice ca nu sunt intr-o factiune Ero(area / rile) / warning-(ul / urile): Liniile de cod / sursa / script-ul(obligatoriu): case 5: //Factions { if (P_DATA[playerid][pMember] < 1 || P_DATA[playerid][pLeader] < 1) return SCM (playerid, -1, "Nu faci parte dintr-o factiune"); if (P_DATA[playerid][pMember] == 1 || P_DATA[playerid][pLeader] == 1 || P_DATA[playerid][pMember] == 2 || P_DATA[playerid][pLeader] == 2 || P_DATA[playerid][pMember] == 3 || P_DATA[playerid][pLeader] == 3 ) { SCM(playerid, -1, "========================================================"); SCM(playerid, -1, "(/r)adio, (/d)epartments, (/m)egaphone, (/su)spect, /mdc, /arrest"); SCM(playerid, -1, "/duty, /wanted, /tazer, /jaillist, /clear, /armour /frisk"); SCM(playerid, -1, "/take, /ticket, (/gov)ernment, /cuff, /uncuff, /mutadetinut"); SCM(playerid, -1, "/radar, /vestiar, /openlspddoor, /openlspdgate, /openlspdbarrier"); SCM(playerid, -1, "/creeazablocaj, /distrugeblocaj, /aratainsigna, /urca, /coboara"); SCM(playerid, -1, "/cheamalift, /showmembers, /alchooltest, /verificacentura"); SCM(playerid, -1, "========================================================"); } else if(IsAMember(playerid)) { SCM(playerid, -1, "==================================================================="); SCM(playerid, -1, "(/f)amily, /takeguns, /tie, /untie, /healhq, /seif, /war, /topgangs, /showmembers (/sm)"); SCM(playerid, -1, "==================================================================="); } else if (P_DATA[playerid][pMember] == 4 || P_DATA[playerid][pLeader] == 4) { SCM(playerid, -1, "======================================================================"); SCM(playerid, -1, "/instinctor, (/r)adio, (/d)epartments, /heal, /duty, /showmembers (/sm), /rfc"); SCM(playerid, -1, "======================================================================"); } else if(P_DATA[playerid][pMember] == 7 || P_DATA[playerid][pLeader] == 7) { SCM(playerid, -1, "======================="); SCM(playerid, -1, "(/f)amily, /portable, /rfc"); SCM(playerid, -1, "======================="); } else if(P_DATA[playerid][pMember] == 8 || P_DATA[playerid][pLeader] == 8) { SCM(playerid, -1, "==================================================="); SCM(playerid, -1, "/news, /live, /rfc, /paper, /papers, /live, /news [text]"); SCM(playerid, -1, "==================================================="); } else if(P_DATA[playerid][pMember] == 9 || P_DATA[playerid][pLeader] == 9) { SCM(playerid, -1, "========"); SCM(playerid, -1, "/transport"); SCM(playerid, -1, "========"); } else if(P_DATA[playerid][pMember] == 6 || P_DATA[playerid][pLeader] == 6 ) { SCM(playerid, -1, "===="); SCM(playerid, -1, "/fare"); SCM(playerid, -1, "===="); } } Imagini / Video (optional): - http://imgur.com/YBnSax1 - http://imgur.com/7VWpdH0 Ati incercat sa rezolvati singur?:Da
  7. Problema intalnita (descriere): Am un server si acest server are 3 sloturi de masini,si intr-un slot merge sa bag o masina intr-un alt slot un motor si intr-un slot un heli sau o barca,si vreau sa fac sa pot baga in aceste 3 sloturi tot ce vreau,adica sa pot baga 2 masini si un motor si invers...cred ca am fost destul de explicit Ero(area / rile) / warning-(ul / urile): - Liniile de cod / sursa / script-ul(obligatoriu): - Imagini / Video (optional): - Ati incercat sa rezolvati singur?: Nu
  8. Am facut cum ai zis,dar cand dau ctrl+f si dau sa caut pos,nu o gaseste!!
  9. Salut,am si eu un GM si nu stiu cum sa schimb spawn-ul,puteti sa ma ajutati?
  10. Salut Sa-mp.ro!! Am si eu nevoie de ajutor!! Deci eu am un server,si pe acest server am 3 sloturi de masini personale,si in astea 3 sloturi pot sa bag decat intr-un slot o masinia intr-un alt slot un motor si in altul un elicopter sau o barca..Si vreau sa le fac sa pot baga in astea 3 sloturi tot ce vreau,sa bag 2 masini si un moto sa bag 3 moto,sa bag 2 elicoptere si un moto....Cred ca a-ti inteles cat de cat. A doua problema este,daca am o masina si un motor,sunt despawunate,si vrea sa le spawnez...Spawnez motorul si pe urma daca vreau sa spawnez masini se despawneaza motorul si se spawneaza masini......Si eu vrea sa le fac ca pe bugged , sa fie spawnate tote.. Si am nevoie va rog frumos de un sistem pentru a vinde casele/bizurile unui player ,eu pot sa vand casele si bizurile numai la stat!!
  11. Pai nu trebuie sa fie personala,comanda /vehh este o camanda pentru a creeao masina care nu are proprietar
  12. CMD:apark ( playerid, params [ ] ) { if (P_DATA[playerid][pAdmin] < 4) return SendClientMessage ( playerid, -1, "* Nu esti autorizat." ); new const vehicleid = GetPlayerVehicleID ( playerid ); GetVehiclePos ( vehicleid, vInfo [ vehicleid ] [ vPos ] [ 0 ], vInfo [ vehicleid ] [ vPos ] [ 1 ], vInfo [ vehicleid ] [ vPos ] [ 2 ] ); GetVehicleZAngle ( vehicleid, vInfo [ vehicleid ] [ vPos ] [ 3 ] ); SaveVehicle ( vMySQLID[ vehicleid ], VEH_TYPE_STATS ); SendClientMessage ( playerid, -1, "* Ai parcat vehiculul aici." ); return 1; } Asta este comanda Si cand dau /vehh pentru a creea o masina si pe urma vreau sa o parchez in alta parte nu se salveaza pozitia sau ceva de genu,va rog ajutati-ma!! Multumesc!
  13. CMD:apark ( playerid, params [ ] ) { if (P_DATA[playerid][pAdmin] < 4) return SendClientMessage ( playerid, -1, "* Nu esti autorizat." ); new const vehicleid = GetPlayerVehicleID ( playerid ); GetVehiclePos ( vehicleid, vInfo [ vehicleid ] [ vPos ] [ 0 ], vInfo [ vehicleid ] [ vPos ] [ 1 ], vInfo [ vehicleid ] [ vPos ] [ 2 ] ); GetVehicleZAngle ( vehicleid, vInfo [ vehicleid ] [ vPos ] [ 3 ] ); SaveVehicle ( vMySQLID[ vehicleid ], VEH_TYPE_STATS ); SendClientMessage ( playerid, -1, "* Ai parcat vehiculul aici." ); return 1; } Asta este comanda Si cand dau /vehh pentru a creea o masina si pe urma vreau sa o parchez in alta parte nu se salveaza pozitia sau ceva de genu,va rog ajutati-ma!! Multumesc!
  14. Salut,am si eu n GM de SA:MP RPG,are baza de date mysql. Si nu stiu cum sa dau wipe,va rog sa ma ajutati!
  15. http://i.imgur.com/5a7wsJw.png De ce imi apare asa?
  16. Asta imi apare la server.cfg echo Executing Server Config... lanmode 0 rcon_password da123 maxplayers 16 port 7777 plugins crashdetect wp sscanf streamer mysql GeoIP_Plugin iTD libRegEx hostname Test Server gamemode0 w3op 1 announce 0 query 1 weburl Null onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S] filterscripts iTD progesss
  17. Salut,am si eu nevoie de ajutor. Cand intru in server-samp imi apare casuta acea dreptunghiulara si dupa o secunda dispare. Ce sa fac? Va rog sa ma ajute cineva. Contactati-ma pe skype sammich.valentin
×
×
  • 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.