Jump to content

Question

Posted

MIA MESR PANA acu si acu nu imi mai mere :((( are ide careva

acesta este scriptu

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
 if( GetPlayerState( playerid ) == PLAYER_STATE_DRIVER )
 	{
 	    if( newkeys & KEY_YES )
 	    {
			new VehicleID, Float:X, Float:Y, Float:Z, Float:Angle;
			GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid);
			GetVehicleZAngle(VehicleID, Angle);SetVehiclePos(VehicleID, X, Y, Z);
            GameTextForPlayer(playerid,"~w~ ~r~Vehicle Flipped",5000,5);
			SetVehicleZAngle(VehicleID, Angle); SetVehicleHealth(VehicleID,1000.0);
		}

 	}
	return 1;
}

9 answers to this question

Recommended Posts

Posted

Nu pare nimic in neregula cum e definita "key_YES" da mai multe detalii..

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Posted

Ia incearca asa :-?

[pawn]public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)

{

if( GetPlayerState( playerid ) == PLAYER_STATE_DRIVER )

{

    if( newkeys & KEY_YES** )

    {

new VehicleID, Float:X, Float:Y, Float:Z, Float:Angle;

GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid);

GetVehicleZAngle(VehicleID, Angle);SetVehiclePos(VehicleID, X, Y, Z);

                        GameTextForPlayer(playerid,"~w~ ~r~Vehicle Flipped",5000,5);

SetVehicleZAngle(VehicleID, Angle); SetVehicleHealth(VehicleID,1000.0);

}

}

return 1;

}[/pawn]

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Posted

nu mere bro iti dau un pm cu id meu uite erorile

D:\server 0.3x\gamemodes\bare.pwn(4683) : error 017: undefined symbol "KEY_YES"
D:\server 0.3x\gamemodes\bare.pwn(5855) : warning 203: symbol is never used: "iSpawnSet"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Posted

Incearca sa faci update la include-ul a_samp ..

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Posted

:)) am zis update nu upload =))

Ia pawno 0.3x si baga include-urile si compileaza.

Intri pe -> http://www.sa-mp.ro/index.php?page=download

si downloadezi SA-MP 0.3X Windows Server SA-MP Official ,acolo o sa gasesti pawno..iei include-urile de la pawno al tau si le bagi acolo..daca te intreaba daca vrei sa-i dai "replace"(inlocuire) la include-uri sa nu dai.

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Guest
This topic is now closed to further replies.
×
×
  • 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.