- 0
am o problema la masini
-
Similar Content
-
- 5 answers
- 81 views
-
- 6 answers
- 77 views
-
- 0 answers
- 78 views
-
- 0 replies
- 34 views
-
- 3 replies
- 75 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
dontz
Deci am un gm samp RP si creatorul a facut ca toate masinile de pe server sa fie inkise sa nu pot sa intru in ele mai ales cele personale, am gasit ce a facut da nu ma pricep la scripting
if (IsALockCar(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pLeader]==111||PlayerInfo[playerid][pLeader]==111||PlayerInfo[playerid][pLeader]==111||PlayerInfo[playerid][pMember]==111||PlayerInfo[playerid][pMember]==111||PlayerInfo[playerid][pMember]==111) {}
else {
SendClientMessage(playerid, COLOR_WHITE, "Personal vehicles are locked");
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz);
}
}
}
return 1;
}
//------------------------------------------------------------------------------
public IsALockCar(carid)
{
if(carid >= 268 && carid <= 300)//MASINI PERSONALE BLOCATE
{
return 1;
}
return 0;
}
//------------------------------------------------------------------------------
CE SA FAC ??
(
Link to comment
Share on other sites
11 answers to this question
Recommended Posts