SA-MP Forums Archive
Help ! - 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: Help ! (/showthread.php?tid=359813)



Help ! - Avi57 - 15.07.2012

Hello,

Can Anyone tell me that how can i do like that only 1 person can create only 1 account !
How can i do ?
Will rep +1 !

Thanks


Re: Help ! - MoNeY_Co0oLzZz - 15.07.2012

Our site fourm is not opening??
WTF our site gone man!! xD


Re: Help ! - leonardo1434 - 15.07.2012

Just stock his IP+gta sa serial using gpci function's.


Re: Help ! - Glint - 15.07.2012

I have no idea what this topic is about.


Re: Help ! - Avi57 - 15.07.2012

Quote:
Originally Posted by leonardo1434
Посмотреть сообщение
Just stock his IP+gta sa serial using gpci function's.
how ? any tutorial or script ?


Re: Help ! - MoNeY_Co0oLzZz - 15.07.2012

Avi download the file i send u in Pm!!


Re: Help ! - Avi57 - 15.07.2012

Quote:
Originally Posted by MoNeY_Co0oLzZz
Посмотреть сообщение
Avi download the file i send u in Pm!!
Stop it !
Dont Spam in my Topics....................


Re: Help ! - Accord - 15.07.2012

You need to make your file with IPs, like: >Scriptfiles>Users>91.124.15.15.1>
Did you understand?


Re: Help ! - Avi57 - 15.07.2012

Yeah Thanks
u mean like save with ip in enum :P


Re: Help ! - leonardo1434 - 15.07.2012

i've made a simple example, take a look.

pawn Код:
native gpci (playerid, serial [], len); // this is the native.


public OnPlayerConnect(playerid)
{
   new playerip[16],playerserial[128];
   gpci(playerid,playerserial,sizeof(playerserial));
   GetPlayerIp(playerid, playerip, sizeof(playerip));
   if(!strcmp(playerip, "hereyougo") && !strcmp(playerserial, "hereyougo"))// you'll have to save their ips/serial in some file, then read it.
   {
      // rest of code;
   }
}