Jump to content
  • 0

am o problema la masini


dontz

Question

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

da da de ar merge  :| :| :| tot aceasi eroare si am puso in pawno > include

Nu l-ai pus in folderul pawno corect, pune-l in pawno pe care-l folosesti, sau deschide mai intai pawno.exe din acel folder pawno in care ai pus include, apoi da-i la File > Open, deschide GM si apasa F5.
Link to comment
Share on other sites

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(247) : error 025: function heading differs from prototype

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(1125) : error 025: function heading differs from prototype

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(1126) : error 021: symbol already defined: "GetDistanceBetweenPlayers"

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(1130) : warning 213: tag mismatch

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(1134) : warning 213: tag mismatch

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(1877) : error 004: function "SafeGivePlayerMoney" is not implemented

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(1906) : error 004: function "SafeGivePlayerMoney" is not implemented

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2207) : error 004: function "IsACopCar" is not implemented

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2216) : error 004: function "IsAnAmbulance" is not implemented   

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2228) : warning 217: loose indentation

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2228) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2228) : error 004: function "IsAnInstructor" is not implemented

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2236) : error 079: inconsistent return types (array & non-array)

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2240) : error 079: inconsistent return types (array & non-array)

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2243) : error 079: inconsistent return types (array & non-array)

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2248) : warning 225: unreachable code

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2248) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2248) : error 004: function "IsAMember" is not implemented

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2256) : error 079: inconsistent return types (array & non-array)

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2260) : error 079: inconsistent return types (array & non-array)

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2263) : error 079: inconsistent return types (array & non-array)

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2268) : warning 225: unreachable code

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2268) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2268) : error 004: function "IsACop" is not implemented

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2276) : error 079: inconsistent return types (array & non-array)

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2280) : error 079: inconsistent return types (array & non-array)

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2283) : error 079: inconsistent return types (array & non-array)

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2287) : warning 225: unreachable code

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2287) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2287) : error 004: function "IsAtGasStation" is not implemented

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2291) : error 004: function "PlayerToPoint" is not implemented

C:\Documents and Settings\Mihai\Desktop\All Gaming RPG\gamemodes\rp.pwn(2293) : error 079: inconsistent return types (array & non-array)

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

26 Errors.

Immmm da habar nu am sa scriptez

Dar , UN pawno BUN de unde pot sa il iau cu de tot ce trb

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.