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.
Show posts MenuC:\DOCUME~1\REMOTE~1\Desktop\ETC\GTASTU~1\Servers\vcmpserv\GAMEMO~1\pmdm.pwn(2555) : warning 202: number of arguments does not match definition
C:\DOCUME~1\REMOTE~1\Desktop\ETC\GTASTU~1\Servers\vcmpserv\GAMEMO~1\pmdm.pwn(2557) : error 017: undefined symbol "vArray"
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase
1 Error.
Quote from: Ettans on March 15, 2010, 10:02:29 AMAlways wanted a gotoloc and saveloc but couldn't make one because of my lack of intelligence with File Management based functions
No, it doesn't accept additional comments, but you can easily change that and yes, you can modify it to make saveloc and gotoloc commands.
Quote from: [AoD]NC on March 14, 2010, 07:28:52 PM
Mhm i always thought the best way to learn something is by examples .
Quote from: chn batista on March 14, 2010, 03:53:10 AMYeah, He's right Learn to script dude, if you will reply the Following:
you should learn how to make script
when you angry don't use that "F" word!
Quote from: Ettans on February 07, 2010, 01:08:38 PM
You could also make the code a lot shorter and easier to modify, by using one single array for the location names and coordinates.
enum zMain
{
name[64],
Float:area[6]
};
static const zones[][zMain] =
{
{"Starfish Island",{-410.00,1403.30,-3.00,-137.90,1681.20,200.00}},
{"Ammunation-North-Point-Mall",{-1372.10,2498.50,0.00,-1277.50,2615.30,200.00}},
{"VC International",{-2324.90,-2584.20,-6.10,-1964.20,-2212.10,200.00}}
};
Note: The coordinates used in this array are random.
Quote from: Jancis_LV on March 13, 2010, 08:41:06 AM
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");
}
}