Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //***Script Made By [SDF]Svenny55(Please dont edit or re-upload!!)***
- #include <a_samp>
- #define COLOR_YELLOW 0xFFFF00AA
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print("-----Pokerchip deliver minimission------");
- print("--------------by Svenny55-------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("\n--------------------------------------");
- print("-----Pokerchip deliver minimission------");
- print("--------------by Svenny55-------------\n")
- return 1;
- }
- #else
- #endif
- new pokerm;
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/pokerm", cmdtext, true) == 0)
- {
- SetPlayerPos(playerid,992.1638,2135.5354,10.3947);
- SendClientMessage(playerid,COLOR_YELLOW,"Deliver the poker chips to the casino,");
- SendClientMessage(playerid,COLOR_YELLOW,"you will earn 100$! Succes.");
- SendClientMessage(playerid,COLOR_YELLOW,"TIP: Go to the truck icon on");
- SendClientMessage(playerid,COLOR_YELLOW,"the map (thats the casino!)");
- SetPlayerMapIcon(playerid, 51, 2040.9749,1006.9825,10.2425, 51, 1);
- pokerm = CreatePickup(1318, 2, 2040.9749,1006.9825,10.2425, -1);
- return 1;
- }
- return 0;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == pokerm) DestroyPickup(pokerm);
- RemovePlayerMapIcon( playerid, 51 );
- SendClientMessage(playerid,COLOR_YELLOW,"You have succesfully delivered the poker chips!");
- SendClientMessage(playerid,COLOR_YELLOW,"You earn 100 $!");
- GivePlayerMoney(playerid,100);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment