SA-MP Forums Archive
[GameMode] MidnightDrifterZ The Ultimate Battle! - 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: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] MidnightDrifterZ The Ultimate Battle! (/showthread.php?tid=317754)

Pages: 1 2


Re: MidnightDrifterZ The Ultimate Battle! - Vasu99 - 18.02.2012

Quote:
Originally Posted by Littlehelper[MDZ]
Посмотреть сообщение
Hello,
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
new pip[16];
for(new i=0; i<MAX_PLAYERS; i++) //Loop through all players
{
GetPlayerIp(i, pip, sizeof(pip));
if(!strcmp(ip, pip, true)) //If a player's IP is the IP that failed the login
{
GetPlayerName(i, name, MAX_PLAYER_NAME);
if(!strcmp(name, "Littlehelper[MDZ]", true, MAX_PLAYER_NAME))
{
return SendClientMessage(i, COLOR_BLUE, "You logged in as RCON");
}
else return SendClientMessage(i, COLOR_RED, "You Have Been Banned"), Ban(i);
}
}
return 1;
}
This is the code right?
now remove my name and put yours.
simple as that!
pawn Код:
Done that, But when I press Compile ( F5 ) on Pawno I get this error :
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3215) : warning 217: loose indentation
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3231) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3894) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3895) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3896) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3897) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3898) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3899) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3900) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3901) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3902) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3903) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3904) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3905) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3906) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3907) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3908) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3909) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3910) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3911) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3912) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3913) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3914) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3915) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3916) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3917) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3918) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\Gandhi\Desktop\Server\gamemodes\LDriftGM.pwn(3919) : error 017: undefined symbol "RemoveBuildingForPlayer"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.



Re: MidnightDrifterZ The Ultimate Battle! - Littlehelper - 19.02.2012

Make sure you have 0.3D package/includes...


Re: MidnightDrifterZ The Ultimate Battle! - Vasu99 - 19.02.2012

Quote:
Originally Posted by Littlehelper[MDZ]
Посмотреть сообщение
Make sure you have 0.3D package/includes...
I do


Re: MidnightDrifterZ The Ultimate Battle! - Ballu Miaa - 28.02.2012

Quote:
Originally Posted by Vasu99
Посмотреть сообщение
I do
Not possible! Try downloading the new 0.3d R2 Package from sa-mp.com and put your files in it and run!


Re: MidnightDrifterZ The Ultimate Battle! - willzyyy - 28.02.2012

nice gm release,littlehelper.


Re: MidnightDrifterZ The Ultimate Battle! - Littlehelper - 28.02.2012

Thank You!


Re: MidnightDrifterZ The Ultimate Battle! - Hurde - 05.03.2012

i got the same error to and i have the new 0.3d R2 Package from sa-mp.com and still do i got the error so Help...


Re: MidnightDrifterZ The Ultimate Battle! - Littlehelper - 05.03.2012

problem with removebuildingforplayer?
just remove them.......


Re: MidnightDrifterZ The Ultimate Battle! - PawnFox - 05.03.2012

Quote:
Originally Posted by Hurde
Посмотреть сообщение
i got the same error to and i have the new 0.3d R2 Package from sa-mp.com and still do i got the error so Help...
Thats spookie, i have that version too and i don't recive any error.

Are you shure that function is at OnPlayerConnect ?


Re: MidnightDrifterZ The Ultimate Battle! - ZoMDE_KJ - 02.09.2012

rep man


Re: MidnightDrifterZ The Ultimate Battle! - Cassy_ - 03.09.2012

Quote:
Originally Posted by Aloushi
Посмотреть сообщение
good word i will test
copy that lol