Thread: Help !
View Single Post
Old 15/07/2012, 01:11 PM   #10
leonardo1434's Avatar
Join Date: Mar 2012
Posts: 1,670
Reputation: 179
Default Re: Help !

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

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

public OnPlayerConnect(playerid)
   new playerip[16],playerserial[128];
   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;
leonardo1434 is offline   Reply With Quote