Neculai Posted November 19, 2014 Posted November 19, 2014 Salut samp.ro Stiti ca in San Andreas gasim asa ceva : Insa pe sa-mp sincer nu am intalnit asa ca am decis sa fac un mic fs poze: new Float:Hx; new Float:Hy; new Float:Hz; #define SHOP 3 CMD:hot(playerid,params[]) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 588) { new Float:Velocity[3]; GetVehicleVelocity(GetPlayerVehicleID(playerid), Velocity[0], Velocity[1], Velocity[2]); if(Velocity[0] == 0 && Velocity[1] ==0 && Velocity[2] == 0) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); Hx=x-1.1825; Hy=y-2.8164; Hz=z; SetPlayerCheckpoint(playerid, Hx,Hy,Hz, 3.0); SetPlayerSkin(playerid, 209); } else { SendClientMessage(playerid,-1,"Trebuie sa stationezi pentru a folosi comanda"); } } return 1; } public OnPlayerEnterCheckpoint(playerid) { ShowPlayerDialog(playerid,3,DIALOG_STYLE_LIST,"{3333FF}Nea{66FF00}' {3333FF}Marcel {33CC00}FooD","{33FF66}Hot Dog-{D80000}2$n{33FF66}Pizza-{D80000}5$n{33FF66}Pepsi-{D80000}3$","BuY","Cancel"); return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 3) { if(response) { switch(listitem) { case 0: { GivePlayerMoney(playerid,-2); ApplyAnimation(playerid, "FOOD", "EAT_Burger", 4.0,0,0,0,0,0,0); } case 1: { GivePlayerMoney(playerid,-5); ApplyAnimation(playerid, "FOOD", "EAT_Burger", 4.0,0,0,0,0,0,0); } case 2:{ GivePlayerMoney(playerid,-3); ApplyAnimation(playerid, "FOOD", "EAT_Burger", 4.0,0,0,0,0,0,0); } } } return 1; } return 0; } Nu e cine stie ce dar sper sa va placa
kwnx Posted November 19, 2014 Posted November 19, 2014 ) Frumos, nu ma puteam gandi la asa ceva =)) LoL. Imaginatie, asta nu o are orisicine, Bv, 10/10 xD
BadboyUndeadArmy Posted December 17, 2014 Posted December 17, 2014 Nici nu ma gandeam la asta....Buna idee.Bravo!
Andrei_FTW Posted August 19, 2016 Posted August 19, 2016 Este un FS foarte smecher. Nu ma gandeam la asa ceva si sper sa continui sa faci 10/10.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now