• Welcome to Vice City Multiplayer.
 
Menu

Show posts

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 Menu

Messages - BCKLUP

#1
mIRC/pawn Scripting / Re: I need Scripts for R2
April 02, 2010, 12:55:44 PM
GUPS 1.15 is a good Script to start with(in pawno server) and learning to make your own
#2
Public Beta / Re: VC:MP 0.4 Public Beta
April 02, 2010, 12:45:22 PM
Almost everyone is in Godmode (not friendly fire)
They can't kill me i can't kill them even if you stand very still
#3
Tip: Before Making Scripts from scratch Be sure to Study a example that is Related to your script.
#4
ShowRoom (pawn) / Re: [CP] Vehicle array
March 15, 2010, 10:12:15 AM
The !vehicle command(+ the vehicle arrays) compiled with only 2 errors:

C:\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.


I was sure i put the Vehicle arrays.

EDIT: Solved the "undefined symbol "vArray"" error by puttin the array at the very top of my script with the random messages are
now what's left is a error ill Try if it work.

IT DIDN'T WORK
#5
ShowRoom (pawn) / Re: [CP] Builder commands.
March 15, 2010, 10:05:29 AM
Quote from: Ettans on March 15, 2010, 10:02:29 AM
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.
Always wanted a gotoloc and saveloc but couldn't make one because of my lack of intelligence with File Management based functions

But with this example i might learn a new "thing" :P
Thank you very much  :)
#6
ShowRoom (pawn) / Re: [CP] Builder commands.
March 15, 2010, 09:45:29 AM
Does it save comments like in /s
Example: !savepos SomeShittyPool
or something like that :P

This can be Heavily modified to be a Saveloc and Gotoloc script, right??
#7
ShowRoom (pawn) / Re: VC-MP STUNT Map v1.0 by HeToN
March 15, 2010, 09:43:37 AM
Object control like in VCO is pwnage, Make the sunken man get buried peacefully :P
#8
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 :).

:o Darn somebody knows my secret :P, I learned pawno in a week only By some documentation and Examples.
and the VC:MP pawno Download has that documentation! :O
#9
Could it really work as a command with a "/" prefix instead of a "/c" or "!"?
btw, Good job but next time tell them something difficult like "strtok" commands(commands with parameters like "/c ban <playerid>")
#10
Quote from: chn batista on March 14, 2010, 03:53:10 AM
you should learn how to make script
when you angry don't use that "F" word! >:(
Yeah, He's right Learn to script dude, if you will reply the Following:
"hey! i'm just 13 bla bla bla i won't understand a thing bla bla bla"
Don't! I learned to script at the age of 11! 8)
#11
ShowRoom (pawn) / Re: Location code for pawn
March 14, 2010, 02:18:53 AM
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.

You can do that but Then Newbies won't understand it easily
i'm quite new with these arrays you put, could anyone please tell me how to check if someone is inside the boundaries of these locs?
#12
ShowRoom (pawn) / Re: Monkey Scripts 0.1
March 14, 2010, 02:10:58 AM
Not Really much but Good Job   8)
#13
Quote from: Jancis_LV on March 13, 2010, 08:41:06 AM
AddStaticPickup can't be used to add pickups except OnGameModeInit

Ohh.. That explains it :P, now i need CreatePickup for the job? :(
#14
I forgot to remove DestroyCar in the title, a friend already told me to just set its health lol(but that works BADLY :P)

EDIT: I had a temporary way of removing them(setting the id to 3 so they will disapear after u picked them.

But i got another problem, Here is the script i made(pizzaboxhunt)
it compiles without errors/warnings but does not make any pickups

On Very Top:
new pizzabox;

On OnPlayerText:

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");
}
}


I have set the ID to 1 because 3 doesn't work But 1 doesn't work too, I'm pretty sure the Pickup model is correct so as the ID, but it doesn't work even if i switch their places, The coordinates work but no pickups spawn

Thank you if you ever solved it,
BTW, DON'T steal the script :P
#15
mIRC/pawn Scripting / Pawn RemovePickup, DestroyCar?
March 12, 2010, 11:52:15 AM
Isn't There any of the RemovePickup(removes pickups) function in the VC:MP pawno server?
I need it , i am making a "Lost Pizzabox" mini-game that makes and REMOVES Pickups, please make those functions PLS...  :(