marian2001
Membru-
Posts
15 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Everything posted by marian2001
-
Descriere tutorial: Puteti sa imi faceti un tutorial gps cu coordonatele astea: AddStaticVehicle(560,1028.9440,-1558.5614,13.2462,343.7151,1,1); // Examen DMV AddStaticVehicle(560,711.4622,-1432.2728,13.2393,194.7305,1,1); // The Triads AddStaticVehicle(560,666.9611,-1282.9161,13.1656,354.8552,1,1); // Varios Los Aztecas AddStaticVehicle(560,549.8950,-1270.1644,16.9496,155.0780,1,1); // RentCar Ls AddStaticVehicle(560,1791.4735,-1166.5736,23.5441,348.2956,1,1); // Gun Shop AddStaticVehicle(560,1791.0420,-1293.5339,13.2371,237.9274,1,1); // News reporter AddStaticVehicle(560,2032.2506,-1409.3840,16.7905,329.7090,1,1); // Medic AddStaticVehicle(560,2130.6013,-1460.1730,23.5266,355.2462,1,1); // Ballas AddStaticVehicle(560,2495.4548,-1667.1882,13.0483,241.4853,1,1); // Grove AddStaticVehicle(560,1541.7828,-1674.5450,13.2579,175.1407,1,1); // Police Departament AddStaticVehicle(560,1483.5800,-1771.5785,13.2515,175.8850,1,1); // Primarie AddStaticVehicle(560,1421.4164,-1679.4807,13.2525,0.5203,1,1); // Banca AddStaticVehicle(560,1326.9592,-1558.8041,13.2459,213.2587,1,1); // Dealership AddPlayerClass(286,1901.5883,703.2072,10.8203,102.1710,0,0,0,0,0,0); // Federal Bureau of Investigation AddPlayerClass(287,-1606.5780,679.6290,-5.2422,0.0000,0,0,0,0,0,0); // National Guard AddPlayerClass(113,1022.0779,-1124.0498,23.8694,180.4817,0,0,0,0,0,0); // The Mafia AddPlayerClass(268,-397.2649,-427.5502,16.2031,168.8882,0,0,0,0,0,0); // Tow Car Company AddPlayerClass(294,1068.7241,-326.9589,73.9922,132.2279,0,0,0,0,0,0); // Hitman AddPlayerClass(61,304.2654,-1524.8188,24.9219,0.0000,0,0,0,0,0,0); // Taxi AddPlayerClass(171,-2026.0669,-97.7846,35.1641,0.0000,0,0,0,0,0,0); // License faction AddPlayerClass(147,2621.0313,1825.0426,11.0234,91.4942,0,0,0,0,0,0); // NFS Club AddPlayerClass(147,2482.1902,1526.6140,11.4886,316.4462,0,0,0,0,0,0); // NRG Club AddPlayerClass(147,-1567.9252,-2730.1885,48.7435,155.7281,0,0,0,0,0,0); // Bikers
-
public OnPlayerStateChange(playerid, newstate, oldstate) { #if defined DEBUG printf("[debug] OnPlayerStateChange(%d, %d, %d)", playerid, newstate, oldstate); #endif if(newstate == PLAYER_STATE_DRIVER) { // God of Cars if ( GetTickCount ( ) - EnterCarTime [ playerid ] < 1000 ) { EnterCarHack [ playerid ] += 1 ; if ( EnterCarHack [ playerid ] > 2 ) { new string[ 128 ]; format ( string , sizeof ( string ) , "{FF0000}[Anti-Cheat]: %s has detected possible Spam Hack Car." , playerVariables[ playerid ][ pNormalName ] ) ; submitToHelpersAndAdmins( string , -1 ) ; Kick ( playerid ) ; } } EnterCarTime [ playerid ] = GetTickCount ( ) ; // if(playerVariables[playerid][pFirstPerson] == 1) { new p = GetPlayerVehicleID(playerid); pObj[playerid] = CreatePlayerObject(playerid,19300, 0.0000, -1282.9984, 10.1493, 0.0000, -1, -1, 100); AttachPlayerObjectToVehicle(playerid,pObj[playerid],p,-0.314999, -0.195000, 0.510000, 0.000000, 0.000000, 0.000000); AttachCameraToPlayerObject(playerid,pObj[playerid]); } } else if(playerVariables[playerid][pFirstPerson] == 0) { SetCameraBehindPlayer(playerid); DestroyPlayerObject(playerid,pObj[playerid]); } if(newstate == PLAYER_STATE_ONFOOT) { if(playerVariables[playerid][pFirstPerson] == 1) { SetCameraBehindPlayer(playerid); DestroyPlayerObject(playerid,pObj[playerid]); } } new vID = GetPlayerVehicleID( playerid ); if( oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT ) { if ( vehicleVariables[vID][vVehicleGroup] == 1 && COPRadar [ playerid ] != -1 ) { COPRadar [ playerid ] = -1 ; SCM ( playerid , -1 , "You destroyed the radar in this area" ) ; TogglePlayerControllable ( playerid , false ) ; return 1; } } foreach(Player, x) { if(playerVariables[x][pSpectating] != INVALID_PLAYER_ID && playerVariables[x][pSpectating] == playerid) { if(newstate == 2 && oldstate == 1 || newstate == 3 && oldstate == 1) { new string[500]; new Float: health; GetPlayerHealth(playerid, health); new Float:health2; new veh = GetPlayerVehicleID(playerid); GetVehicleHealth(veh, health2); new Speed = GetSpeed(playerid); format(string, 500,"%s [~r~%i~w~] - L ~r~%i~w~", playerVariables[playerid][pNormalName], playerid,playerVariables[playerid][pLevel]); TextDrawSetString(info[x], string); format(string, 500,"Health: ~r~%.0f~w~", health); TextDrawSetString(viata[x], string); format(string, 500,"W: ~r~%d~w~ - Jail: ~r~%d~w~ minutes", playerVariables[playerid][pWarrants], playerVariables[playerid][pPrisonTime] / 60); TextDrawSetString(wantedjail[x], string); format(string, 500,"Car ~r~%d~w~ [~r~%.0f~w~ HP]", GetPlayerVehicleID(playerid), health2); TextDrawSetString(carinfo[x], string); format(string, 500,"Speed: ~g~%d KM/H~w~", Speed); TextDrawSetString(carspeed[x], string); TextDrawShowForPlayer(x, info[x]); TextDrawShowForPlayer(x, carspeed[x]); TextDrawShowForPlayer(x, carinfo[x]); TextDrawShowForPlayer(x, viata[x]); TextDrawShowForPlayer(x, wantedjail[x]); PlayerSpectateVehicle(x, GetPlayerVehicleID(playerid)); }
-
Nu este in gamemode de loc
-
Nu gasesc nimic doar asta public OnPlayerExitVehicle(playerid, vehicleid) { #if defined DEBUG printf("[debug] OnPlayerExitVehicle(%d, %d)", playerid, vehicleid); #endif StopAudioStreamForPlayer(playerid); if( vehicleVariables[ vehicleid ][ vVehicleJob ] == 5 ) { DisablePlayerCheckpoint( playerid ); RemovePlayerFromVehicle( playerid ); CP[ playerid ] = 0; if( pTrailer[ playerid ] ) { SetVehicleToRespawn( vehicleid ); DestroyVehicle( pTrailer[ playerid ] ); SendClientMessage( playerid, -1, "Job has been failed !" ); } } if ( vehicleVariables[vehicleid][vVehicleGroup] == 1 && COPRadar [ playerid ] != -1 ) { COPRadar [ playerid ] = -1 ; SCM ( playerid , -1 , "You destroyed the radar in this area" ) ; TogglePlayerControllable ( playerid , false ) ; } TakingLesson[playerid] = 0; if(IsADmvCar(vehicleid)) { TextDrawHideForPlayer(playerid, DMV2[playerid]); TextDrawHideForPlayer(playerid, DMV1[playerid]); DisablePlayerRaceCheckpoint(playerid); TakingLesson[playerid] = 0; if(GetPlayerState(playerid) == 2) { SendClientMessage(playerid, COLOR_WHITE, "You left the vehicle and lost the test."); SetVehicleToRespawn(vehicleid); } } return SetPlayerArmedWeapon(playerid, 0); }
-
Cand ma urc intr-o masina nu scrie nimic ma da afara.
-
Problema intalnita (descriere): Cand ma urc in orice masina , am permisul ma da afara . Ero(area / rile) / warning-(ul / urile): 0 Liniile de cod / sursa / script-ul(obligatoriu): 0 Imagini / Video (optional): Nu am dar merge greu cand filmez si in imagini nu arata. Ati incercat sa rezolvati singur?: Nustiu cum.
-
Salut , am urmat fiecare pas corect si nu merge
-
Nu merge , am instalat s0b , am intrat pe server si am vazut ca tot 0 playeri cu s0b scria .
-
Iti dau un sfat nu folosi toate fs de pe net , fa tu singur un dealership , ai si un tutorial de Maurice. Nu am de unde sa stiu toate scripturile.
-
Nu gasesc , imi poti da un link?
-
La comanda aceea trebuie doar sa schimb din /cancel checkpoint in /kill cp si /rfc sa fie la factiiuni /respawnfactioncar
-
Sunt incepator in scripting , as vrea unul gata facut....
-
Descriere Tutorial: Care are sa-mi dea un dealership functionabil , un filescript care sa dea /buycar sa iti apara masini , un dealership simplu , sunt incepator in scripting va rog ajutati-ma Multumesc
-
Descriere tutorial: Care ma ajuta sa fac o comada /rfc la factiuni , si sa modific sa il pun in /killcp Multumesc
-
Care are baza de dat ede la gamemode mysql a gamemodeu-lui hardplay v1.75 completa cu tot cu stock?