Jump to content
  • 0

zcmd


Ryder_RO

Question

C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4770) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4771) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4772) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4773) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4774) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4775) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4776) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4777) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4778) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4779) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4780) : error 017: undefined symbol "AddTeleport"
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(4781) : error 017: undefined symbol "AddTeleport"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


12 Errors.
^ || erorii si am pus asa
CMD:stunt( playerid, params[ ] )
{
    if( sscanf( params, "i", params[ 0 ] ) ) return SendClientMessage( playerid, -1, "USAGE: < /stunt [ 1 - 12 ] >" );

    switch( params[ 0 ] )
    {
        case 1: AddTeleport ( playerid , "Stunt1", "~r~Stunt~g~1", 1838.4784, -1450.1213, 13.5628, 344.1002, 0, 0 );
        case 2: AddTeleport ( playerid , "Stunt2", "~r~Stunt~g~2", 1967.3712, -1423.8013, 13.5749, 98.4679, 0, 0 );
        case 3: AddTeleport ( playerid , "Stunt3", "~r~Stunt~g~3", 2470.7346, -2574.3794, 13.6596, 332.5301, 0, 0 );
        case 4: AddTeleport ( playerid , "Stunt4", "~r~Stunt~g~4", 2791.0352, -2515.0664, 13.6303, 77.8111, 0, 0 );
        case 5: AddTeleport ( playerid , "Stunt5", "~r~Stunt~g~5", 1685.5283, 1449.5259, 10.7699, 270.4896, 0, 0 );
        case 6: AddTeleport ( playerid , "Stunt6", "~r~Stunt~g~6", 2236.2339, 1376.1831, 10.6985, 270.4896, 0, 0 );
        case 7: AddTeleport ( playerid , "Stunt7", "~r~Stunt~g~7", 2805.2703, 1612.0198, 10.8203, 168.9687, 0, 0 );
        case 8: AddTeleport ( playerid , "Stunt8", "~r~Stunt~g~8", -1997.1787, -281.9577, 35.4688, 0.0805, 0, 0 );
        case 9: AddTeleport ( playerid , "Stunt9", "~r~Stunt~g~9", -2216.7144, 313.4335, 35.3203, 270.8029, 0, 0 );
        case 10: AddTeleport ( playerid , "Stunt10", "~r~Stunt~g~10", -2268.1855, -102.7652, 35.3203, 270.8029, 0, 0 );
        case 11: AddTeleport ( playerid , "Stunt11", "~r~Stunt~g~11", 2390.0061, 989.2574, 10.8203, 90.6579, 0, 0 );
        case 12: AddTeleport ( playerid , "Stunt12", "~r~Stunt~g~12", 2012.7931, 892.2557, 10.8203, 90.3446, 0, 0 );
    }
    return 1;
}

de ce imi de erorile...


nu vroiam sa mai fac alt topic ; dar pe cel vechi lau inchis .

468833_437698_362328_hiphop.jpg
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

Guest farse

forward AddTeleport(playerid, tname[ ], message[ ], Float:x, Float:y, Float:z, Float:a, interior, world);
public AddTeleport(playerid, tname[ ], message [ ], Float:x, Float:y, Float:z, Float:a, interior, world)
{
   #pragma unused message,tname //<- edited!
   new vehicleid = GetPlayerVehicleID(playerid);
   new State = GetPlayerState(playerid);
   if (IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
   {
      LinkVehicleToInterior(vehicleid, interior);
      SetPlayerInterior(playerid, interior);
      SetVehicleZAngle(vehicleid, a);
      SetCameraBehindPlayer(playerid);
      SetVehiclePos(vehicleid, x, y, z);
   }else
   {
      SetCameraBehindPlayer(playerid);
      SetPlayerPos(playerid, x, y, z);
      SetPlayerInterior(playerid, interior);
      SetPlayerFacingAngle(playerid, a);
      SetPlayerVirtualWorld(playerid, world);
   }
   return 1;
}

..

http://www.sa-mp.ro/forum/index.php/topic,12397.msg74267.html#msg74267

Link to comment
Share on other sites

cu functia asta imi da asa 

#pragma unusend message,tname //<- edited!
erori
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(6095) : warning 207: unknown #pragma
C:\Documents and Settings\--__Rechitean__--\Desktop\Romania Galaxy Stunt\gamemodes\RGS.pwn(6095) : error 038: extra characters on line
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
iar fara functie mi se compileaza dar in consola sc
[10:05:13] Script[gamemodes/RGS.amx]: Run time error 19: "File or function is not found"
[10:05:13] Number of vehicle models: 0

dc ?

468833_437698_362328_hiphop.jpg
Link to comment
Share on other sites

Guest farse

Nu sus,ci in functie

forward AddTeleport(playerid, tname[ ], message[ ], Float:x, Float:y, Float:z, Float:a, interior, world);
public AddTeleport(playerid, tname[ ], message [ ], Float:x, Float:y, Float:z, Float:a, interior, world)
{
   #pragma unused message,tname //<- edited!
...si restu

Link to comment
Share on other sites

Daca tot nu merge baga cu stock:

stock AddTeleport(playerid, tname[ ], message [ ], Float:x, Float:y, Float:z, Float:a, interior, world)
{
   #pragma unused message,tname //<- edited!
   new vehicleid = GetPlayerVehicleID(playerid);
   new State = GetPlayerState(playerid);
   if (IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
   {
      LinkVehicleToInterior(vehicleid, interior);
      SetPlayerInterior(playerid, interior);
      SetVehicleZAngle(vehicleid, a);
      SetCameraBehindPlayer(playerid);
      SetVehiclePos(vehicleid, x, y, z);
   }else
   {
      SetCameraBehindPlayer(playerid);
      SetPlayerPos(playerid, x, y, z);
      SetPlayerInterior(playerid, interior);
      SetPlayerFacingAngle(playerid, a);
      SetPlayerVirtualWorld(playerid, world);
   }
   return 1;
}
Pentru
[10:05:13] Script[gamemodes/RGS.amx]: Run time error 19: "File or function is not found"
[10:05:13] Number of vehicle models: 0

Baga pluginul sscanf: http://forum.sa-mp.com/showthread.php?t=120356

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.