Jump to content
  • 0

Question

Posted

De ce imi da don't send la pawno cand bag comanda asta?

[pawn] //----------------------------------[ROB]-----------------------------------------------

if(strcmp(cmd, "/rob", true) == 0)

{

if(IsPlayerConnected(playerid))

  {

  if(IsPlayerInVehicle(playerid, 295))

    {

    CP[playerid] = 50;

SetPlayerCheckpoint(playerid, 1460.9639, -1022.6666, 23.8281, 3.0);

SendClientMessage(playerid, COLOR_YELLOW,"Dute cu dubita pana in fata la banca.");

}

else

{

    SendClientMessage(playerid, COLOR_GREY,"  Tu nu esti in Duba Roz !");

    SendClientMessage(playerid, COLOR_RED,"Duba o gasesti intr-o parcare subterana din Los Santos");

}

}

}

else

{

SendClientMessage(playerid, COLOR_GREY,"  Tu nu poti sa jefuiesti banca acum !");

RemovePlayerFromVehicle(playerid);

SetVehicleToRespawn(253);

return 1;

}

}[/pawn]

vqqi6h.gif

2 answers to this question

Recommended Posts

Posted

vezi asa

[pawn]if(strcmp(cmd, "/rob", true) == 0)

{

if(IsPlayerConnected(playerid))

  {

  if(IsPlayerInVehicle(playerid, 295))

    {

    CP[playerid] = 50;

SetPlayerCheckpoint(playerid, 1460.9639, -1022.6666, 23.8281, 3.0);

SendClientMessage(playerid, COLOR_YELLOW,"Dute cu dubita pana in fata la banca.");

}

else

{

    SendClientMessage(playerid, COLOR_GREY,"  Tu nu esti in Duba Roz !");

    SendClientMessage(playerid, COLOR_RED,"Duba o gasesti intr-o parcare subterana din Los Santos");

}

}

else

{

SendClientMessage(playerid, COLOR_GREY,"  Tu nu poti sa jefuiesti banca acum !");

RemovePlayerFromVehicle(playerid);

SetVehicleToRespawn(253);

return 1;

}

}[/pawn]

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.