[GameMode] MidnightDrifterZ The Ultimate Battle!
#21

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.
Reply
#22

Make sure you have 0.3D package/includes...
Reply
#23

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

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!
Reply
#25

nice gm release,littlehelper.
Reply
#26

Thank You!
Reply
#27

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...
Reply
#28

problem with removebuildingforplayer?
just remove them.......
Reply
#29

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 ?
Reply
#30

rep man
Reply
#31

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


Forum Jump:


Users browsing this thread: 3 Guest(s)