14.11.2010, 15:30
I'm adding private vehicles on my server, but I don't know how to do it.
I wanna make these :
Private for this team :
how do I do it ?
I wanna make these :
pawn Код:
AddStaticVehicleEx(427,193.42268372,1917.46765137,17.88862419,0.00000000,-1,3,15); //Enforcer
AddStaticVehicleEx(427,202.34309387,1917.72888184,17.88862419,0.00000000,-1,3,15); //Enforcer
AddStaticVehicleEx(427,211.39657593,1917.49511719,17.88862419,0.00000000,-1,3,15); //Enforcer
AddStaticVehicleEx(427,220.60968018,1917.43066406,17.88862419,0.00000000,-1,3,15); //Enforcer
AddStaticVehicleEx(523,218.62045288,1858.75793457,12.80733681,0.00000000,-1,3,15); //HPV1000
AddStaticVehicleEx(523,214.57823181,1858.54028320,12.80100250,0.00000000,-1,3,15); //HPV1000
AddStaticVehicleEx(490,275.78240967,2015.96179199,17.96075058,331.53472900,-1,3,15); //FBI Rancher
AddStaticVehicleEx(490,283.71200562,2016.59545898,17.96075058,331.53442383,-1,3,15); //FBI Rancher
AddStaticVehicleEx(490,275.32498169,2031.56054688,17.96075058,218.96630859,-1,3,15); //FBI Rancher
AddStaticVehicleEx(490,282.46844482,2031.47424316,17.96075058,218.96301270,-1,3,15); //FBI Rancher
AddStaticVehicleEx(497,279.18328857,1955.96508789,17.90562439,268.13433838,-1,3,15); //Police Maverick
AddStaticVehicleEx(593,277.93148804,1989.74621582,18.19080734,272.01599121,-1,-1,15); //Dodo
Private for this team :
pawn Код:
if(team[playerid] == 6) //S.T.A.R.S
{
SetPlayerColor(playerid,GREEN);
SetPlayerTeam(playerid, 1);
SetPlayerPos(playerid,214.9546,1866.6601,13.1406);
SetPlayerFacingAngle(playerid,5.6779);
GivePlayerWeapon(playerid,31,300);
GivePlayerWeapon(playerid,24,300);
GivePlayerMoney(playerid, 20000);
SetPlayerInterior(playerid,0);
SetPlayerArmour(playerid, 100);
return 1;
}