20.12.2010, 09:04
Change this bit
You needed to change
to
the 2 means the amount of stars. Now you know this you can mod the ambulance aswell.
Код:
if (IsACopCar(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3||PlayerInfo[playerid][pMember]==1||PlayerInfo[playerid][pMember]==2||PlayerInfo[playerid][pMember]==3) {} else { WantedPoints[playerid]+=1; SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle"); new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz); SetPlayerPos(playerid, cx, cy, cz); new wanted = GetPlayerWantedLevel(playerid); SetPlayerWantedLevel(playerid, wanted + 1); } }
Код:
WantedPoints[playerid]+=2;
Код:
WantedPoints[playerid]+=1;