Claudiu2015
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by Claudiu2015
-
-
Imi da o eroare : error 017: undefined symbol "cColorOne"
warning 204: symbol is assigned a value that is never used: "HouseKey"
-
Unde trebuie pusa aia cu UPDATE-ul la ce lini si cea ca sa distruga masina .. ?
-
Problema intalnita (descriere):Cand dau /park la masina personala nu se salveaza pozitia .
Ero(area / rile) / warning-(ul / urile):Nici-un warning/eroare doar ca nu se salveaza pozitia .
Liniile de cod / sursa / script-ul(obligatoriu):CMD:park ( playerid , params [ ] ) {if ( IsPlayerConnected ( playerid ) ) {newFloat: VPos [ 4 ] ,key , HouseKey = PlayerInfo [ playerid ] [ pHouseKey ] ;if ( PlayerInfo [ playerid ] [ pPlayerConnected ] == 0 ) return SCM ( playerid , -1 , IsNotConnected ) ;if ( VPersSpawned [ playerid ] == MAX_PERSONALCARS ) return SCM ( playerid , -1 , ""ALB"You need a car so you can park visible." ) ;if ( IsPlayerInAnyVehicle ( playerid ) && ( VPersSpawned [ playerid ] == GetPlayerVehicleID ( playerid ) ) && ( GetPlayerState ( playerid ) == PLAYER_STATE_DRIVER ) ) {if ( ( PlayerInfo [ playerid ] [ pHouseKey ] != MAX_HOUSES ) && ( PlayerToPoint ( 30 , playerid , HouseInfo [ HouseKey ] [ hIntrare ] [ 0 ] , HouseInfo [ HouseKey ] [ hIntrare ] [ 1 ] , HouseInfo [ HouseKey ] [ hIntrare ] [ 2 ] ) ) ) {GetVehiclePos ( GetPlayerVehicleID ( playerid ) , VPos [ 0 ] , VPos [ 1 ] , VPos [ 2 ] ) ;GetVehicleZAngle ( GetPlayerVehicleID ( playerid ) , VPos [ 3 ] ) ;if ( SlotUSED [ playerid ] == 1 ) { key = PlayerInfo [ playerid ] [ pCarKey1 ] ; }else if ( SlotUSED [ playerid ] == 2 ) { key = PlayerInfo [ playerid ] [ pCarKey2 ] ; }else if ( SlotUSED [ playerid ] == 3 ) { key = PlayerInfo [ playerid ] [ pCarKey3 ] ; }CarInfo [ key ] [ cLocation ] [ 0 ] = VPos [ 0 ] ;CarInfo [ key ] [ cLocation ] [ 1 ] = VPos [ 1 ] ;CarInfo [ key ] [ cLocation ] [ 2 ] = VPos [ 2 ] ;CarInfo [ key ] [ cAngle ] = VPos [ 3 ] ;mysql_format( gHandle, SQLString, sizeof( SQLString ), "UPDATE `%s` SET `LocationX` = '%f', `LocationY` = '%f', `LocationZ` = '%f', `Angle` = '%f' WHERE `CarID` = '%d' LIMIT 1",DBNAME_PCARS,CarInfo[ key ][ cLocation ][ 0 ],CarInfo[ key ][ cLocation ][ 1 ],CarInfo[ key ][ cLocation ][ 2 ],CarInfo[ key ][ cAngle ],key);mysql_tquery( gHandle, SQLString, "", "" );SCM ( playerid , -1 , ""ALBASTRU"[ INFO ] The car was parked successful in this location." ) ;}else {if ( PlayerTicket [ playerid ] == false ) return SCM ( playerid , -1 , ""ALB"Need parking ticket from 24 / 7 to park the car." ) ;GetVehiclePos ( GetPlayerVehicleID ( playerid ) , VPos [ 0 ] , VPos [ 1 ] , VPos [ 2 ] ) ;GetVehicleZAngle ( GetPlayerVehicleID ( playerid ) , VPos [ 3 ] ) ;if ( SlotUSED [ playerid ] == 1 ) { key = PlayerInfo [ playerid ] [ pCarKey1 ] ; }else if ( SlotUSED [ playerid ] == 2 ) { key = PlayerInfo [ playerid ] [ pCarKey2 ] ; }else if ( SlotUSED [ playerid ] == 3 ) { key = PlayerInfo [ playerid ] [ pCarKey3 ] ; }CarInfo [ key ] [ cLocation ] [ 0 ] = VPos [ 0 ] ;CarInfo [ key ] [ cLocation ] [ 1 ] = VPos [ 1 ] ;CarInfo [ key ] [ cLocation ] [ 2 ] = VPos [ 2 ] ;CarInfo [ key ] [ cAngle ] = VPos [ 3 ] ;mysql_format( gHandle, SQLString, sizeof( SQLString ), "UPDATE `%s` SET `LocationX` = '%f', `LocationY` = '%f', `LocationZ` = '%f', `Angle` = '%f' WHERE `CarID` = '%d' LIMIT 1",DBNAME_PCARS,CarInfo[ key ][ cLocation ][ 0 ],CarInfo[ key ][ cLocation ][ 1 ],CarInfo[ key ][ cLocation ][ 2 ],CarInfo[ key ][ cAngle ],key);mysql_tquery( gHandle, SQLString, "", "" );SCM ( playerid , -1 , ""ALBASTRU"[ INFO ] The car was parked successful in this location , parking ticket was used." ) ;PlayerTicket [ playerid ] = false ;}}else return SCM ( playerid , -1 , ""ALB"To park your car must be driving them." ) ;}return 1 ;}Imagini / Video (optional):
Ati incercat sa rezolvati singur?:Am incercat sa inlocui ceva dar nu mi-a reusit .
Problema DMV
in Arhivă probleme
Posted
Problema intalnita (descriere):Cum se creeaza masini pentru DMV + checkpoint-urile.Merge comanda EXAM dar nu am Masinile puse
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):CMD:exam( playerid, params[] )
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: