Scrip problem
#1

I have a problem with the following script: http://pastebin.com/LMy7sgc0
When I compile to .amx he says:


Quote:

fatal error 100: cannot read from file: "sscanf"

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


1 Error.

Reply
#2

You will need to Download sscanf.inc .. Here you go http://www.mediafire.com/?etgenp82lm86fsk
Reply
#3

Another problem ...

I make the following script:

Quote:

//-----------------------------------[GiveMoneyAll]-----------------------------------------------

if(strcmp(cmd, "/giveallmoney", true) == 0) || strcmp(cmd, "/alm", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 1338 )
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new playerlevel = PlayerInfo[i][pMoney];
PlayerInfo[i][pMoney] = playermoney + 10000000;
format(string, sizeof(string), "B4 School Administrator %s a dat cate 1 mil. la fiecare jucator online !",sendername);
SendClientMessage(i,COLOR_LIGHTGREEN,string);
}
}
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command !");
}

And I get the following error:

Quote:

C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(1808 ) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(1837) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2169) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2173) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2185) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2189) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2193) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2197) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2201) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2205) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2209) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2213) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2225) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2229) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2233) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2237) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2241) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2253) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2257) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2261) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2273) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2277) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2406) : error 017: undefined symbol "UpdateCountText"
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2457) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(2985) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Mihaitza\Videos\cwalkandrey\Zonek\gamemod es\Givemon.pwn(3024) : error 017: undefined symbol "UpdateCountText"

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


26 Errors.

Reply
#4

Your missing a closing bracket
Reply
#5

Can help me .. pls ?


Can you give me the correct script plsss :> ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)