Posts: 176
Threads: 29
Joined: Aug 2012
Reputation:
0
use the search page or use wiki and its either .
new vehicleid = GetPlayerVehicleID(playerid);
new engine, lights, alarm, doors, bonnet, boot,objective;
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective)
SetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot ,objective);
or you can use setvehicleparamsforplayer search ****** ****** is your best friend not when it comes to phones tho they suck hahah
Posts: 10
Threads: 1
Joined: Jul 2014
Reputation:
0
I dont really understand what should I do in the Pawno, could you tell me where exacly I need to put that script?
Btw:
hitman command :
CMD:givemehit(playerid, params[])
{
if(PlayerInfo[playerid][pFaction] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
new string[128], targetid;
if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givemehit [targetid]");
if(IsPlayerConnected(targetid))
{
if(GoChase[playerid] < 999)
{
SendClientMessage(playerid, COLOR_GREY, " You're already busy with another contract!");
return 1;
}
if(GotHit[targetid] == 1)
{
SendClientMessage(playerid, COLOR_GREY, " Another hitman has already assigned this target!");
return 1;
}
if(PlayerInfo[targetid][pHeadValue] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " That target doesn't have a contract on them!");
return 1;
}
format(string, sizeof(string), "* You have offered yourself a contract to kill %s. (type /accept contract)", GetPlayerNameEx(targetid));
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
HitOffer[playerid] = playerid;
HitToGet[playerid] = targetid;
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, " The contracted person is offline, use /contracts!");
return 1;
}
}
return 1;
}
Posts: 176
Threads: 29
Joined: Aug 2012
Reputation:
0
first of all at the top of the script you got #define <a_samp> if not add it