25.07.2016, 21:32
PHP Code:
#include <a_samp>
stock GetSignature(playerid) {
new name[24];
GetPlayerName(playerid, name, 24);
new handle = fopen("http://forum.sa-mp.com/usercp.php?username=%s", name);
return fread(handle);
}
public OnPlayerConnect(playerid) {
if(!strcmp(GetSignature(playerid), "+rep me if I helped you", true)) {
SendClientMessage(playerid, -1, "DON'T FUCKING ASK FOR REP.");
}
}