1
mIRC/pawn Scripting / Re: I need Scripts for R2
« on: April 02, 2010, 02:55:44 pm »
GUPS 1.15 is a good Script to start with(in pawno server) and learning to make your own
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Mhm i always thought the best way to learn something is by examples .
you should learn how to make scriptYeah, He's right Learn to script dude, if you will reply the Following:
when you angry don't use that "F" word!
AddStaticPickup can't be used to add pickups except OnGameModeInit
new pizzabox;
if(strcmp(cmd, "!pizzaboxhunt", true) == 0) {
new thing = random(15);
SendClientMessageToAll(COLOR_YELLOW,"A PizzaBox Hunt Mini-Game Started");
SendClientMessage(playerid,COLOR_YELLOW,"384.5143, 256.4719 ,19.3605");
if(thing == 1) {
pizzabox = AddStaticPickup(1,510,384.5143, 256.4719 ,19.3605);
SendClientMessageToAll(COLOR_GREEN,"[Hint]The pizza is at a window on a Apartment with a open window");
}
if(thing == 2) {
pizzabox = AddStaticPickup(1,510,419.2660 ,93.2078 ,11.3063);
SendClientMessageToAll(COLOR_GREEN,"[Hint]The pizza Was reported Left From where it was before");
}
if(thing == 3) {
pizzabox = AddStaticPickup(1,510,414.9581, 1085.3802 ,18.7859);
SendClientMessageToAll(COLOR_GREEN,"[Hint]The pizza is Lost at the mall!");
}
if(thing == 4) {
pizzabox = AddStaticPickup(1,510,-553.8390, -402.8251, 11.3168);
SendClientMessageToAll(COLOR_GREEN,"[Hint]A game producer Claims he left it at his pool shaped like his Game corp. Trademark");
}
if(thing == 5) {
pizzabox = AddStaticPickup(1,510,-1309.0585, 165.6544 ,11.5256);
SendClientMessageToAll(COLOR_GREEN,"[Hint]The rich Entrepenuerer Tommy V. Claims he left it at the junkyard while saving a friend");
}
if(thing == 6) {
pizzabox = AddStaticPickup(1,510,-484.7639 ,1135.8655 ,65.4701);
SendClientMessageToAll(COLOR_GREEN,"[Hint]A Rabit Claims he put it near his EGG");
}
if(thing == 7) {
pizzabox = AddStaticPickup(1,510,-29.8756 ,1012.3131 ,12.8006);
SendClientMessageToAll(COLOR_GREEN,"[Hint]Candy Suxx Says she left it where he was shooting her movie called Appollo Suxx");
}
if(thing == 8) {
pizzabox = AddStaticPickup(1,510,85.7579 ,1122.6744 ,17.6771);
SendClientMessageToAll(COLOR_GREEN,"[Hint]Mr.Victor V. Claims his brother left it at Prawn Island");
}
if(thing == 9) {
pizzabox = AddStaticPickup(1,510,428.4260, 606.2814 ,12.7099);
SendClientMessageToAll(COLOR_GREEN,"[Hint]Witnesses claim it was Spotted on a Mansion near North Point Mall");
}
if(thing == 10) {
pizzabox = AddStaticPickup(1,510,516.1821, 505.2309 ,11.1907);
SendClientMessageToAll(COLOR_GREEN,"[Hint]Local Cops reported a Criminal Left it before getting jailed");
}
if(thing == 11) {
pizzabox = AddStaticPickup(1,510,-1293.9908, -1289.1542, 21.3892);
SendClientMessageToAll(COLOR_GREEN,"[Hint]A Stunter Claims he lost it while Airport Stunting");
}
if(thing == 12) {
pizzabox = AddStaticPickup(1,510,320.7324, 23.2309, 10.8043);
SendClientMessageToAll(COLOR_GREEN,"[Hint]A Construction worker claims he saw it on a Village near the building he was working on");
}
if(thing == 13) {
pizzabox = AddStaticPickup(1,510,70.0546, -501.4800, 13.6888);
SendClientMessageToAll(COLOR_GREEN,"[Hint]Sir.[MSc]SysRq claims he say someone ate it while he was PEEING");
}
if(thing == 14) {
pizzabox = AddStaticPickup(1,510,71.0228, -1443.3428, 10.5656);
SendClientMessageToAll(COLOR_GREEN,"[Hint]Local Stripper says she saw a Costumer Eating it");
}
if(thing == 15) {
pizzabox = AddStaticPickup(1,510,36.8530, -1088.4978, 10.4633);
SendClientMessageToAll(COLOR_GREEN,"[Hint]Gas Station owner claims someone reported him a Pizzabox Dropped");
}
}