Jump to content

Question

15 answers to this question

Recommended Posts

Posted

Uite asa

Pui la public OnPlayerStateChange(playerid, newstate, oldstate)

    new newcar = GetPlayerVehicleID(playerid);

if(newcar == carid)

{

        {

            RemovePlayerFromVehicle(playerid);

            new Float:cx, Float:cy, Float:cz;

        GetPlayerPos(playerid, cx, cy, cz);

        SetPlayerPos(playerid, cx,  cy, cz+5);

        PlayerPlaySound(playerid, 1130, cx, cy, cz+5);

            SendClientMessage(playerid, COLOR_GRAD2,"* Nu poti conduce aceasta masina !!!.");

}

}

i0418xcttya707ofg.jpg

Posted

asa??

nop

new newcar = GetPlayerVehicleID(playerid);
if(newcar == 532 || newcar == alt_id || alt_id)
{
	RemovePlayerFromVehicle(playerid);
	new Float:cx, Float:cy, Float:cz;
	GetPlayerPos(playerid, cx, cy, cz);
	SetPlayerPos(playerid, cx,  cy, cz+5);
	PlayerPlaySound(playerid, 1130, cx, cy, cz+5);
	SendClientMessage(playerid, COLOR_GRAD2,"* Nu poti conduce aceasta masina !!!.");
}

Posted

stuntman-=!!" post="38158" timestamp="1282154279"]

nop

new newcar = GetPlayerVehicleID(playerid);
if(newcar == 532 || newcar == alt_id || alt_id)
{
	RemovePlayerFromVehicle(playerid);
	new Float:cx, Float:cy, Float:cz;
	GetPlayerPos(playerid, cx, cy, cz);
	SetPlayerPos(playerid, cx,  cy, cz+5);
	PlayerPlaySound(playerid, 1130, cx, cy, cz+5);
	SendClientMessage(playerid, COLOR_GRAD2,"* Nu poti conduce aceasta masina !!!.");
}

Rulez

senzaolo1xv.png

www.dsrclan.forumfree.it

Posted
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 /*hydra*/)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x,y,z);
SetPlayerPos(playerid,x,y,z+300);
GivePlayerWeapon(playerid,46,1);
}
}

tLYRl.gif
Posted

RuNix" post="38409" timestamp="1282383751"]

if(newstate == PLAYER_STATE_DRIVER)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 /*hydra*/)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x,y,z);
SetPlayerPos(playerid,x,y,z+300);
GivePlayerWeapon(playerid,46,1);
}
}
mULTUMESC MERGE SI CASA PUN ALTE MASINI CUM FAC ASA?
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 == 111 == 111)

senzaolo1xv.png

www.dsrclan.forumfree.it

Posted

mULTUMESC MERGE SI CASA PUN ALTE MASINI CUM FAC ASA?
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 == 111 == 111)
nu, pui:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520 || GetVehicleModel(GetPlayerID(playerid)) == 111)

Posted

daca pui prea multe o sa iti dea eroare ca e linia prea mare,use:



new Vm=GetVehicleModel( GetPlayerVehicleID ( playerid ) );
if(Vm==520||Vm == 111||Vm == 111)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x,y,z);
SetPlayerPos(playerid,x,y,z+300);
GivePlayerWeapon(playerid,46,1);
}


Posted

daca pui prea multe o sa iti dea eroare ca e linia prea mare,use:



new Vm=GetVehicleModel( GetPlayerVehicleID ( playerid ) );
if(Vm==520||Vm == 111||Vm == 111)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x,y,z);
SetPlayerPos(playerid,x,y,z+300);
GivePlayerWeapon(playerid,46,1);
}


WTF ??? GivePlayerWeapon :))

Samp.OnlyPro.ro - RolePlay - Join Us !

Posted

WTF ??? GivePlayerWeapon :))

Aia e o parasuta, id 46, pentru ca-l da la inaltimea aia + 300, si e foarte sus :P, cauta inainte sa vorbesti :P
Posted

stuntman-=!!" post="38543" timestamp="1282485327"]

Aia e o parasuta, id 46, pentru ca-l da la inaltimea aia + 300, si e foarte sus :P, cauta inainte sa vorbesti :P

Da man dar el cauta o simpla comanda de slap ... dc ati improvizat voi nush putea sa puna +1 in loc de 300 ... ce naiba

Samp.OnlyPro.ro - RolePlay - Join Us !

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.