Negalima prašyti ar platinti betkokių žaidimą (multiplayer) palengvinančių programų! Kitaip bus taikoma 1.21. taisyklė
Chicony

Car komandos ;)

Recommended Posts

if (strcmp(cmdtext, "/uzrakinti", true)==0)

{

if(IsPlayerInAnyVehicle(playerid))

{

new State=GetPlayerState(playerid);

if(State!=PLAYER_STATE_DRIVER)

{

SendClientMessage(playerid,0xFF004040,"You can only lock the doors as the driver.");

return 1;

}

new i;

for(i=0;i

{

if(i != playerid)

{

SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 1);

}

}

SendClientMessage(playerid, 0x33AA33AA, "Vehicle locked!");

new Float:*Myliu SuperGames.lt*, Float:pY, Float:pZ;

GetPlayerPos(playerid,*Myliu SuperGames.lt*,pY,pZ);

PlayerPlaySound(playerid,1056,*Myliu SuperGames.lt*,pY,pZ);

}

else

{

SendClientMessage(playerid, 0xFF004040, "You're not in a vehicle!");

}

return 1;

}

--------------------------------------------------------------------------------

if (strcmp(cmdtext, "/atrakinti", true)==0)

{

if(IsPlayerInAnyVehicle(playerid))

{

new State=GetPlayerState(playerid);

if(State!=PLAYER_STATE_DRIVER)

{

SendClientMessage(playerid,0xFF004040,"You can only unlock the doors as the driver.");

return 1;

}

new i;

for(i=0;i

{

SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0);

}

SendClientMessage(playerid, 0x33AA33AA, "Vehicle unlocked!");

new Float:*Myliu SuperGames.lt*, Float:pY, Float:pZ;

GetPlayerPos(playerid,*Myliu SuperGames.lt*,pY,pZ);

PlayerPlaySound(playerid,1057,*Myliu SuperGames.lt*,pY,pZ);

}

else

{

SendClientMessage(playerid, 0xFF004040, "You're not in a vehicle!");

}

return 1;

}

--------------------------------------------------------------------------------

if(strcmp(cmdtext,"/flip",true)==0)

{

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

GetPlayerPos(playerid,X,Y,Z);

VehicleID = GetPlayerVehicleID(playerid);

SetVehiclePos(VehicleID,X,Y,Z);

SetVehicleZAngle(VehicleID,0);

return 1;

}

--------------------------------------------------------------------------------

Cia komandos /flip /atrakinti / uzrakinti

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį

Svečias
Ši tema yra užrakinta.

  • Šiame puslapyje naršo:   0 nariai

    Nėra registruotų narių peržiūrinčių šį forumą.

  • eneba
  • eneba
  • eneba



  • SuperGames programele
  • SuperGames programele