+Reps , how to (SMall help)
#4

Quote:
Originally Posted by Tayab
Посмотреть сообщение
pawn Код:
public OnPlayerConnected(playerid)
{
     new version[40];
     GetPlayerVersion(playerid,version,sizeof(version));
     if(strcmp(version,"0.3x",false)) == true)
     {
     KickWithMessage(playerid,"Please download the latest version of SA-MP");
     return 1;
      }
      return 1;
}

// If you don't have KickWithMessage, then copy this at the end of your .pwn file.
forward KickPublic(playerid);
public KickPublic(playerid) { Kick(playerid); }

KickWithMessage(playerid, message[])
{
    SendClientMessage(playerid, COLOR_RED, message);
    SetTimerEx("KickPublic", 1000, 0, "d", playerid);
}
C:\Users\MaHdy\Desktop\SPA Server original\gamemodes\SPA.pwn(2236) : error 029: invalid expression, assumed zero
C:\Users\MaHdy\Desktop\SPA Server original\gamemodes\SPA.pwn(2236) : warning 215: expression has no effect
C:\Users\MaHdy\Desktop\SPA Server original\gamemodes\SPA.pwn(2236) : error 001: expected token: ";", but found ")"
C:\Users\MaHdy\Desktop\SPA Server original\gamemodes\SPA.pwn(2236) : error 029: invalid expression, assumed zero
C:\Users\MaHdy\Desktop\SPA Server original\gamemodes\SPA.pwn(2236) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply


Messages In This Thread
+Reps , how to (SMall help) - by MahdiGames - 20.12.2013, 22:26
Re: +Reps , how to (SMall help) - by xVIP3Rx - 20.12.2013, 22:28
Re: +Reps , how to (SMall help) - by Tayab - 20.12.2013, 22:34
Re: +Reps , how to (SMall help) - by MahdiGames - 20.12.2013, 22:36
Re: +Reps , how to (SMall help) - by MahdiGames - 20.12.2013, 22:42
Re: +Reps , how to (SMall help) - by BlackWolf120 - 20.12.2013, 22:53
Re: +Reps , how to (SMall help) - by MahdiGames - 20.12.2013, 22:59
Re: +Reps , how to (SMall help) - by Tayab - 20.12.2013, 23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)