else if(strcmp(x_nr,"sellto",true) == 0)
{
if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey] || GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2])
{
new ownvehkey;
if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey]) { ownvehkey = PlayerInfo[playerid][pPcarkey]; }
else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2]) { ownvehkey = PlayerInfo[playerid][pPcarkey2]; }
else { return 1; }
if(strcmp(sendername, CarInfo[ownvehkey][cOwner], true) == 0)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "HINT: /v sellto [playerid/PartOfName] [price]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if(ProxDetectorS(8.0, playerid, giveplayerid))
{
if(PlayerInfo[giveplayerid][pPcarkey] == 9999)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "HINT: /v sellto [playerid/PartOfName] [price]");
return 1;
}
new price;
price = strval(tmp);
if(price < 1 || price > 1500000)
{
SendClientMessage(playerid, COLOR_GREY, "Price not lower then 1 and not higher then 1500000. ");
return 1;
}
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "* You offerd %s to buy your car for $%d .", giveplayer, price);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "* Car Owner %s offered you to buy his/her car for $%d (type /accept ownablecar) to buy.", playername, price);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
OwnableCarOffer[giveplayerid] = playerid;
OwnableCarID[giveplayerid] = ownvehkey;
OwnableCarPrice[giveplayerid] = price;
return 1;
}
}
else if(PlayerInfo[giveplayerid][pPcarkey2] == 9999)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "HINT: /v sellto [playerid/PartOfName] [price]");
return 1;
}
new price;
price = strval(tmp);
if(price < 1 || price > 1500000)
{
SendClientMessage(playerid, COLOR_GREY, " Price not lower then 1 and not higher then 1500000. ");
return 1;
}
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "* You offerd %s to buy your car for $%d .", giveplayer, price);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "* Car Owner %s offered you to buy his/her car for $%d (type /accept ownablecar) to buy.", playername, price);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
OwnableCarOffer[giveplayerid] = playerid;
OwnableCarID[giveplayerid] = ownvehkey;
OwnableCarPrice[giveplayerid] = price;
return 1;
}
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " This is not your car");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You have to sit at your own car to sell it");
return 1;
}
}
|
Uhm , first of all dont ask questions about my script u shoudnt have it . Why you even run a server if you are unable to fix such a small problem , anyway if i see more of this i will report you for using a stolen scipt wich is against the samp rules don . Reply from dylan
|
|
Never gave anything , secondly adding maps and filterscripts and changing colors isnt editing. My stuff is still in there so its always my property and from hellman. And matic
|
|
never gave anything? then how come i have it? oh right.. i guess i hacked into your pc and stole everything you have there.. i mean since i wouldnt even be able to hack my own email lol... and yes SOME of your stuffs is in there and i think ive seen 2 things matic made and they all say "edited by Boyka" Boyka aka you so then i guess matic didnt do a shiz.. and what about Hellman? he made it from the start so i guess its not your either since his stuffs is still in it..
A filterscript isnt added in the mode so why you even bringing that up? and colors i have changed yes to make FBI more "undercover" the other things ive made is edited almost every faction, added senate, fixed /v paintjob (wich you worked on for months but still couldnt fix)... fixed equipment bug(wich you couldnt fix), fixed government(wich you was too "lazy" to do), made a invite command for government(you couldnt) and btw i removed mapping not added.. Want me to continue? |
|
This made me LMAO , I was tired of scripting 24/7 but guess what all those things u just named are fixed included all other bugs , maybe u shoud shut your mouth becouse this hole message doesnt make sence i coud fix them all but i didnt had time for it and i didnt feel like doing it so stfu , secondly we got a hole new vehicle/equipment system wich include reloading and putting cars so gtfo twat.
|