Jump to content
  • 0

Problema GODFATHER


OmbLadoN.

Question

Problema intalnita (descriere): Am serverul lui darksone gamlife , si are casele tot si masinile , dar masinile le pot conduce toti ! Am scriptul de la asta , dar imi da error !
Ero(area / rile) / warning-(ul / urile): 

Godfather.pwn(2684) : error 004: function "PlayerToPoint" is not implemented

Godfather.pwn(2696) : error 017: undefined symbol "IsVehicleOccupied"
Godfather.pwn(2700) : error 017: undefined symbol "IsVehicleOccupied"
Godfather.pwn(3930) : error 004: function "SetPlayerToTeamColor" is not implemented
Godfather.pwn(4750) : error 004: function "SetPlayerToTeamColor" is not implemented
Godfather.pwn(4775) : error 004: function "SetPlayerToTeamColor" is not implemented
Godfather.pwn(4858) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4862) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4874) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4878) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4882) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4886) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4890) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4894) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4898) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4910) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4914) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4918) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4922) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4926) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4938) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4942) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4946) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4958) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(4962) : error 004: function "PlayerToPoint" is not implemented
Godfather.pwn(5513) : error 004: function "SendIRCMessage" is not implemented
 
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
 
 
26 Errors.

Liniile de cod / sursa / script-ulhttp://pastebin.com/wusHPU6w
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: da

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Ce lini mi-ai dat la acel link, nu pot face nimik cu ele...

Da-mi functiile PlayerToPoint, SendIRCMessage si SetPlayerToTeamColor ca sa te pot ajuta...

 

In legatura cu "IsVehicleOccupied", pune la inceputul GM-ului, la news:

new IsVehicleOccupied;

242086.png

Link to comment
Share on other sites

  • 0

forward SendIRCMessage(channel, color, string[]);

forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);

forward SetPlayerToTeamColor(playerid);

 

Si dupa ce am bagat aia cu new

 

imi da error

C:UsersMariaDesktopBY MEgamemodesGodfather.pwn(2697) : error 012: invalid function call, not a valid address

C:UsersMariaDesktopBY MEgamemodesGodfather.pwn(2697) : warning 215: expression has no effect
C:UsersMariaDesktopBY MEgamemodesGodfather.pwn(2697) : error 001: expected token: ";", but found ")"
C:UsersMariaDesktopBY MEgamemodesGodfather.pwn(2697) : error 029: invalid expression, assumed zero
C:UsersMariaDesktopBY MEgamemodesGodfather.pwn(2697) : fatal error 107: too many error messages on one line
 
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
 
 
4 Errors.
Edited by OmbLadoN.
Link to comment
Share on other sites

  • 0
PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
    new Float:posX, Float:posY, Float:posZ;
    new Float:posX2, Float:posY2, Float:posZ2;
    GetPlayerPos(playerid, posX, posY, posZ);
    posX2 = (posX -x);
    posY2 = (posY -y);
    posZ2 = (posZ -z);
    if (((posX2 < radi) && (posX2 > -radi)) && ((posY2 < radi) && (posY2 > -radi)) && ((posZ2 < radi) && (posZ2 > -radi)))
    {
        return 1;
    }
    return 0;
}

1. Introdu asta la stock-uri

2. Sterge:

forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);

si

public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{ 
  .....
  return 1;
}

Si vezi daca functioneaza.. daca da, o sa te ajut si cu celelalte 2 ^^

242086.png

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.