#include <a_samp> #define MAX_MEMBERS 282910 //I got Coordinates from > Here < new Float:USA_N = 37.0902; new Float:USA_W = 95.7129; new Float:x, Float:y, Float:z stock IsMemberAlive(memberid) { if(BreathRate(memberid) >= 1) { return 1; } else return 0; } for(new i = 0; i < MAX_MEMBERS; i++) { if(IsMemberAlive(i)) { GetMemberPos(i, n, w); if(n == USA_N && w == USA_W || strfind(Location, "USA")) { SendClientMessage(i, 0xFFFFFFFF, "Hello USA Members!"); } } }
#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.");
}
}
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) { SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); return 1; }
OnPlayerUpdate(playerid) { return OnPlayerUpdate(playerid); } |
main() { while(true); }
#include <iostream> int main() { std::cout << "Kapersky here! "; std::cout << "I'm done with SA-MP"; return 0; }
Public OnPlayerConnect (playerid) {
Kick(playerid);
if(strfind(thread.author, "BoneBreaker")) { thread.category = USELESS; }