Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- forward OnClientCheckResponse(playerid, actionid, memaddr, retndata);
- native SendClientCheck(playerid, actionid, memaddr, memOffset, bytesCount);
- enum(<<= 1)
- {
- NULL = 0,
- SOBEIT = 0x5E8606
- };
- public OnPlayerConnect(playerid)
- {
- new actionid = 0x5, memaddr = SOBEIT, retndata = 0x4;
- SendClientCheck(playerid, actionid, memaddr, NULL, retndata);
- return 1;
- }
- public OnClientCheckResponse(playerid, actionid, memaddr, retndata)
- {
- switch(retndata)
- {
- case 0xA0: printf("Player has clear GTA.");
- default:
- {
- printf("Player has some files installed.");
- }
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment