Jump to content
  • 0

Ajutor am problema


Question

Posted

Totimpu cind compliezi imi da warn

C:\Documents and Settings\Admin\??????? ????\3b\pawno\include\cps.inc(140) : warning 208: function with tag result used before definition, forcing reparse

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Warning.

vreu sa scap odata de el ma inerveaza

lol

5 answers to this question

Recommended Posts

Posted

ai ceva de genu

{

//cod

return 1;

//inca un cod

}

Pune ce e dupa return,dar in fata lui } inainte de return


Zi linia care e din teleportu ala
Posted

if (strcmp(cmdtext, "/grov", true) == 0) {

    ResetPlayerWeapons(playerid);

    if (IsPlayerInAnyVehicle(playerid)) {

    SetVehiclePos(GetPlayerVehicleID(playerid),2494.714111, -1666.929809, 13.343750 );

    SetVehicleZAngle(GetPlayerVehicleID(playerid), 176.258346);

    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);

    }

    if (!IsPlayerInAnyVehicle(playerid)) {

    SetPlayerPos(playerid,2494.714111, -1666.929809, 13.343750 );

    SetPlayerFacingAngle(playerid, 176.258346);

    SetPlayerInterior(playerid, 0);

    ResetPlayerWeapons(playerid);

    }

    SendClientMessage(playerid, 0xFFFF00AA, "You Have Been Teleported To Grove Street In LS");

    SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//

    return 1;

}

lol

Posted

liniile dintre 135-145 din pawno\include\cps.inc  :-\

Posted

if (strcmp(cmdtext, "/grov", true) == 0) {

    ResetPlayerWeapons(playerid);

    if (IsPlayerInAnyVehicle(playerid)) {

    SetVehiclePos(GetPlayerVehicleID(playerid),2494.714111, -1666.929809, 13.343750 );

    SetVehicleZAngle(GetPlayerVehicleID(playerid), 176.258346);

    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);

    }

    if (!IsPlayerInAnyVehicle(playerid)) {

    SetPlayerPos(playerid,2494.714111, -1666.929809, 13.343750 );

    SetPlayerFacingAngle(playerid, 176.258346);

    SetPlayerInterior(playerid, 0);

    ResetPlayerWeapons(playerid);

    }

    SendClientMessage(playerid, 0xFFFF00AA, "You Have Been Teleported To Grove Street In LS");

    SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//

    return 1;

}

nu linia 140 din GM, ci linia 140 din cps.inc, incearca-l pe acesta:

http://www.solidfiles.com/d/b35e0/

liniile dintre 135-145 din pawno\include\cps.inc  :-\

sa incerce asta mai intai ;D
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.