Jump to content
  • 0

Erori


MMC3

Question

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(281) : error 017: undefined symbol "Gethi"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(281) : error 017: undefined symbol "GetHouseStats"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(291) : error 017: undefined symbol "dcmd_buy"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(292) : error 017: undefined symbol "dcmd_sell"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(293) : error 017: undefined symbol "dcmd_enter"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(294) : error 017: undefined symbol "dcmd_exit"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(295) : error 017: undefined symbol "dcmd_lock"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(296) : error 017: undefined symbol "dcmd_unlock"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(297) : error 017: undefined symbol "dcmd_home"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(298) : error 017: undefined symbol "dcmd_setrent"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(299) : error 017: undefined symbol "dcmd_rent"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(300) : error 017: undefined symbol "dcmd_unrent"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(301) : error 017: undefined symbol "dcmd_househelp"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(302) : error 017: undefined symbol "dcmd_getrent"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(303) : error 017: undefined symbol "dcmd_payrent"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(308) : error 017: undefined symbol "Gethi"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(311) : error 017: undefined symbol "Gethi"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(325) : error 017: undefined symbol "SpawnPlayerAtHouse"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(366) : warning 219: local variable "string" shadows a variable at a preceding level

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(852) : error 017: undefined symbol "MakePlayerNumber"

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(876) : error 004: function "CountDown" is not implemented

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(1027) : error 029: invalid expression, assumed zero

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(1027) : error 004: function "OnPlayerSpawn" is not implemented

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(1041) : warning 225: unreachable code

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(1041) : error 029: invalid expression, assumed zero

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(1041) : error 004: function "OnPlayerDeath" is not implemented

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(1048) : warning 225: unreachable code

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(1048) : error 029: invalid expression, assumed zero

D:\Jocuri\GTA SAN ANDREAS\servere san andreas\MMC\gamemodes\DsD.pwn(1048) : error 004: function "OnPlayerRequestClass" is not implemented

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

26 Errors.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

public OnPlayerPickUpPickup(playerid, pickupid)

{

    if(pickupid == mpk) SetPlayerSkin(playerid, 45);

    if(pickupid == parapk) GivePlayerWeapon(playerid, 46, 1);

    if(Gethi(playerid) != -255) GetHouseStats(playerid, Gethi(playerid));

    return 1;

}

public OnPlayerCommandText(playerid, cmdtext[])

{

new string[256];

dcmd(buy,3,cmdtext);

dcmd(sell,4,cmdtext);

dcmd(enter,5,cmdtext);

dcmd(exit,4,cmdtext);

dcmd(lock,4,cmdtext);

dcmd(unlock,6,cmdtext);

dcmd(home,4,cmdtext);

dcmd(setrent,7,cmdtext);

dcmd(rent,4,cmdtext);

dcmd(unrent,6,cmdtext);

dcmd(househelp,9,cmdtext);

dcmd(getrent,7,cmdtext);

dcmd(payrent,7,cmdtext);

if (strcmp("/visithouse", cmdtext, true) == 0)

    {

    new hid;

    hid = Gethi(playerid);

    if (strcmp(hInfo[hid][Name],"De Vanzare",true)) return SendClientMessage(playerid, c_r, "Aceasta casa nu este de vanzare");

    new str1[255],pname[24],housenumber;

housenumber = Gethi(playerid);

GetPlayerPos(playerid, housex[playerid], housey[playerid], housez[playerid]);

format(str1, sizeof(str1), "Case/hi%d", housenumber);

GetPlayerName(playerid, pname, 24);

    playerworld[playerid] = GetPlayerVirtualWorld(playerid);

SendClientMessage(playerid, c_y, "Ai intrat in casa!");

    SetPlayerVirtualWorld(playerid, housenumber);

    SetPlayerInterior(playerid, hInfo[housenumber][interior]);

SetPlayerPos(playerid, hInfo[housenumber][interiorX], hInfo[housenumber][interiorY], hInfo[housenumber][interiorZ]);

playerinterior[playerid] = hInfo[housenumber][interior];

return 1;

}

if (strcmp("/myhouse", cmdtext, true) == 0)

    {

    SpawnPlayerAtHouse(playerid);

    return 1;

    }

//teles

  if (strcmp("/lvisland", cmdtext, true, 10) == 0)

  {

  SetPlayerPos(playerid, 3179.4905,662.0535,2.1031);

  SendClientMessage(playerid, COLOR_BLUE, "You just got Teleported to LV Island!");

  return 1;

  }

    if (strcmp("/boat", cmdtext, true, 10) == 0)

{

SetPlayerPos(playerid, 571.7513,-1893.1196,3.4983);

SetPlayerInterior(playerid, 0);

return 1;

}

  if (!strcmp("/superjump",cmdtext,true))

  {

SetPlayerInterior(playerid,0);

if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)

{

LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);

SetVehiclePos(GetPlayerVehicleID(playerid),1794.0,1828.0,668.0);

SetVehicleZAngle(GetPlayerVehicleID(playerid),0.0);

}

else

{

SetPlayerPos(playerid,1794.0,1828.0,668.0);

SetPlayerFacingAngle(playerid,0.0);

}

if(strcmp(cmdtext,"/minigun",true)== 0)

    {

    SendClientMessage(playerid, COLOR_YELLOW, "Welcome to the Minigun Deathmatch, Available Weapons : Minigun");

    ResetPlayerWeapons(playerid);

    SetPlayerInterior(playerid,0);

    SetPlayerPos(playerid, -1425.6670,1490.2557,1.8672); // Military Ship San fierro

    SetPlayerFacingAngle(playerid, 100.5574);

    SetPlayerHealth(playerid, 100);

    SetPlayerArmour(playerid, 100);

    GivePlayerWeapon(playerid, 38,9999);

    new string[50];

    new name[MAX_PLAYER_NAME];

    GetPlayerName(playerid,name,18);

    format(string, sizeof(string), "%s has joined the Minigun DM ( /minigun)",name);

    SendClientMessageToAll(0xC2A2DAAA,string);

    return 1;

    }

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.