Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // welcome To My First Script it was my very firts!!
- // This is a comment
- // uncomment the line below if you want to write a filterscript
- //#define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Skin Filterscript By Monster[HD]");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- SetGameModeText("Blank Script");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/s 30", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 30);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-30");
- return 1;
- }
- if (strcmp("/s 29", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 29);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-29");
- return 1;
- }
- if (strcmp("/s 28", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 28);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-28");
- return 1;
- }
- if (strcmp("/s 27", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 27);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-27");
- return 1;
- }
- if (strcmp("/s 26", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 26);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-26");
- return 1;
- }
- if (strcmp("/s 25", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 25);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-25");
- return 1;
- }
- if (strcmp("/s 24", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 24);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-24");
- return 1;
- }
- if (strcmp("/s 23", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 23);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-23");
- return 1;
- }
- if (strcmp("/s 22", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 22);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-22");
- return 1;
- }
- if (strcmp("/s 21", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 21);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-21");
- return 1;
- }
- if (strcmp("/s 20", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 20);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-20");
- return 1;
- }
- if (strcmp("/s 19", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 19);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-19");
- return 1;
- }
- if (strcmp("/s 18", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 18);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-18");
- return 1;
- }
- if (strcmp("/s 17", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 17);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-17");
- return 1;
- }
- if (strcmp("/s 16", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 16);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-16");
- return 1;
- }
- if (strcmp("/s 15", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 15);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-15");
- return 1;
- }
- if (strcmp("/s 14", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 14);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-14");
- return 1;
- }
- if (strcmp("/s 13", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 13);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-13");
- return 1;
- }
- if (strcmp("/s 12", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 12);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-12");
- return 1;
- }
- if (strcmp("/s 11", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 11);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-11");
- return 1;
- }
- if (strcmp("/s 10", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 10);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-10");
- return 1;
- }
- if (strcmp("/s 9", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 9);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-9");
- return 1;
- }
- if (strcmp("/s 8", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 8);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-8");
- return 1;
- }
- if (strcmp("/s 7", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 7);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-7");
- return 1;
- }
- if (strcmp("/s 6", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 6);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-6");
- return 1;
- }
- if (strcmp("/s 5", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 5);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-5");
- return 1;
- }
- if (strcmp("/s 4", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 4);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-4");
- return 1;
- }
- if (strcmp("/s 3", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 3);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-3");
- return 1;
- }
- if (strcmp("/s 2", cmdtext, true, 10) ==0)
- {
- SetPlayerSkin(playerid, 2);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-2");
- return 1;
- }
- if (strcmp("/s 1", cmdtext, true, 10) == 0)
- {
- SetPlayerSkin(playerid, 1);
- SendClientMessage(playerid,COLOR_GREEN, "***YOU HAVE CHANGED UR SKIN TO ID-1");
- return 1;
- }
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment