SA-MP Forums Archive
Help Please!!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help Please!!! (/showthread.php?tid=229355)



Help Please!!! - RoXoR - 21.02.2011

TheApocalypse.pwn(1127) : error 004: function "SendPlayerFormattedText" is not implemented
TheApocalypse.pwn(1256) : error 004: function "DynUpdateStart" is not implemented
TheApocalypse.pwn(1525) : warning 225: unreachable code
TheApocalypse.pwn(1525) : error 029: invalid expression, assumed zero
TheApocalypse.pwn(1525) : error 017: undefined symbol "cmd_getmoney"
TheApocalypse.pwn(1525) : error 029: invalid expression, assumed zero
TheApocalypse.pwn(1525) : fatal error 107: too many error messages on one line

I want to fix these errors!!!
Thanks


Re: Help Please!!! - xir - 21.02.2011

Show the code..


Re: Help Please!!! - RoXoR - 21.02.2011

Come on boys please help(


Re: Help Please!!! - xir - 21.02.2011

You need to show the code, no one can fix your code by looking at some errors


Re: Help Please!!! - captainjohn - 21.02.2011

Show us the lines around 1127, 1256 and 1525


Re: Help Please!!! - BlackWolf120 - 21.02.2011

like already said, post your code.
But it looks like an { and } error.


Re: Help Please!!! - RoXoR - 21.02.2011

line 1525
COMMAND:getmoney(playerid, params[])
{
GivePlayerMoney(playerid,2000);
return 1;
}

line 1256
DynUpdateStart(playerid);
return 1;
}

line 1127
SendPlayerFormattedText(playerid,"{00C0FF}Welcome to {6EF83C}T{0049FF}he {6EF83C}A{F81414}pocalypse {6EF83C}for more please type {F81414}/help", 0);


Re: Help Please!!! - BlackWolf120 - 21.02.2011

try it with:

pawn Код:
if (strcmp("/getmoney", cmdtext, true) == 0)
{

GivePlayerMoney(playerid,2000);

return 1;
}

//edit: ah your still editing.
Its hard to read post the whole code parts including the function header and pls use [ pawn ] and [ /pawn ]


Re: Help Please!!! - captainjohn - 21.02.2011

line 1525
pawn Код:
COMMAND:getmoney(playerid, params[])
{
    GivePlayerMoney(playerid,2000);
    return 1;
}
line 1256
pawn Код:
DynUpdateStart(playerid);
    return 1;
}
line 1127
pawn Код:
SendPlayerFormattedText(playerid,"{00C0FF}Welcome to {6EF83C}T{0049FF}he {6EF83C}A{F81414}pocalypse {6EF83C}for more please type {F81414}/help", 0);
Send us the whole command for each one above. Your cunfusing me.