You need to have SAMP Version 0.3x-r2 - 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)
+--- Thread: You need to have SAMP Version 0.3x-r2 (
/showthread.php?tid=478802)
You need to have SAMP Version 0.3x-r2 -
Blackazur - 01.12.2013
Hello, how can i make something like that that a player needs 0.3x-r2 to join my server?
Re: You need to have SAMP Version 0.3x-r2 -
Konstantinos - 01.12.2013
https://sampwiki.blast.hk/wiki/GetPlayerVersion
Re: You need to have SAMP Version 0.3x-r2 -
iJumbo - 01.12.2013
https://sampwiki.blast.hk/wiki/GetPlayerVersion
EDIT: ups :/ too late xD was waiting 80 seconds u.u
Re: You need to have SAMP Version 0.3x-r2 -
boomerboom - 01.12.2013
****** GetPlayerVersion I think.
Re: You need to have SAMP Version 0.3x-r2 -
Ada32 - 01.12.2013
the latest versions aren't backwards compatible.. so either way they need the client in the same family. and there's no r2 client either so..yea
AW: You need to have SAMP Version 0.3x-r2 -
Blackazur - 01.12.2013
But can i get a short example for this too? Also when a player joins he have wrong version > kick
Re: You need to have SAMP Version 0.3x-r2 -
LeeXian99 - 01.12.2013
What's the point of making that?
AW: You need to have SAMP Version 0.3x-r2 -
Blackazur - 01.12.2013
Because with 0.3x-r2 you cant use ****** correctly. So that players with 0.3x cant join
AW: You need to have SAMP Version 0.3x-r2 -
Mellnik - 01.12.2013
Код:
new version[40];
GetPlayerVersion(playerid, version, sizeof(version));
if(strcmp(version, "0.3x-R1-2"))
{
return Kick(playerid);
}
Re: You need to have SAMP Version 0.3x-r2 -
Konstantinos - 01.12.2013
The latest client version is 0.3x-R1-2.
pawn Код:
public OnPlayerConnect( playerid )
{
new
samp_version[ 40 ]
;
GetPlayerVersion( playerid, samp_version, sizeof( samp_version ) );
if( strcmp( samp_version, "0.3x-R1-2" ) != 0 )
{
Kick( playerid );
return 0;
}
// code..
return 1;
}