Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Url System
- // Credits: khalifakk
- #include <a_samp>
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Url/IP System - khalifakk ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, 0x00FF00FF, "SERVER URL: www.server.com");
- SendClientMessage(playerid, 0x00FF00FF, "SERVER IP: 127.0.0.1");
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/urlip", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, 0x00FF00FF, "SERVER URL: www.server.com");
- SendClientMessage(playerid, 0x00FF00FF, "SERVER IP: 127.0.0.1");
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment