Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: locday123 on February 09, 2011, 05:02:11 am

Title: Auto Event ??
Post by: locday123 on February 09, 2011, 05:02:11 am
Hi guys can anyone give me the code of tự động event .please guys help me give me the Code of Auto Event
thanks
Please any code of Auto Event?
Title: Re: Auto Event ??
Post by: yazeen on February 13, 2011, 05:55:31 pm
what u mean auto event please explain so ill help
Title: Re: Auto Event ??
Post by: locday123 on February 14, 2011, 03:35:51 pm
what u mean auto event please explain so ill help


Means that the code that will make any event because I had put in 30 minutes
Title: Re: Auto Event ??
Post by: BIG[H] on February 14, 2011, 05:04:15 pm
ROLF WTF WTF WTF WTF ROLF Explain Clearly and give us some COde we will modify it
Title: Re: Auto Event ??
Post by: yazeen on February 16, 2011, 03:06:15 pm
Still can understand you mean !m4 !m60 teleports you to the place you want with only the wep you will give if yes ill say code if no EXPLAIN CLEARLY   :)
Title: Re: Auto Event ??
Post by: saberman on February 25, 2011, 03:13:41 pm
He means a special event that happens after 20 mins.
Title: Re: Auto Event ??
Post by: Robd on February 26, 2011, 06:47:55 am
Use timers
Title: Re: Auto Event ??
Post by: heekz.shadow on March 02, 2011, 07:15:01 pm
Code: [Select]
forward Event1();
public Event1() {
for(new i=0; i>MAX_PLAYERS; i++) {
SetPlayerWeapon(i,random(33),9999);
SetPlayerPos(i,x,y,z);
GameTextForAll("~o~Grudge ~y~Time!");
}

now you just need in ongamemodeinit

Code: [Select]
SetTimer("Event1",50000,1);
Title: Re: Auto Event ??
Post by: Castagna on March 09, 2011, 09:00:43 am
SetPlayerWeapon(i,random(33),9999);
 that exist?
Title: Re: Auto Event ??
Post by: Robd on March 30, 2011, 04:14:02 am
I'm 90% that would work, yes
Title: Re: Auto Event ??
Post by: tato on March 30, 2011, 05:37:46 am
SetPlayerWeapon(i,random(33),9999);
 that exist?
but i am asking if this work?????????????
Title: Re: Auto Event ??
Post by: yazeen on March 30, 2011, 10:01:17 am
SetPlayerWeapon(i,random(33),9999);
 that exist?
but i am asking if this work?????????????

It will Work
Title: Re: Auto Event ??
Post by: tato on March 31, 2011, 04:43:51 am
SetPlayerWeapon(i,random(33),9999);
 that exist?
but i am asking if this work?????????????

It will Work
but it give errors the random wep thing
Title: Re: Auto Event ??
Post by: Madara on March 31, 2011, 10:45:54 am
SetPlayerWeapon(i,random(33),9999);
 that exist?
but i am asking if this work?????????????

It will Work
but it give errors the random wep thing

 Is: SetPlayerWeapon(i,random(33),9999) with a list of id al weapons.
Title: Re: Auto Event ??
Post by: tato on April 01, 2011, 02:12:16 am
SetPlayerWeapon(i,random(33),9999);
 that exist?
but i am asking if this work?????????????

It will Work
but it give errors the random wep thing

 Is: SetPlayerWeapon(i,random(33),9999) with a list of id al weapons.

kk thanks
Title: Re: Auto Event ??
Post by: yazeen on April 07, 2011, 10:06:59 am
Create Vehicle Works??????????? During Game
Title: Re: Auto Event ??
Post by: BIG[H] on April 07, 2011, 10:27:43 pm
Not possible in pawn till now but possible in Squirrel and mIRC Create Vehicle Create Pickup here an Example of Squirrel NOTE : UNTESTED i made it in 1 min by hand no sure it will work ..
it will create a PCJ bike near player !
Code: [Select]
local pos = player.Pos
CreateVehicle( 191 , Vector( pos , player.Angle );
EDIT:Test it in Squirrel server! not in Pawn!
Title: Re: Auto Event ??
Post by: yazeen on April 08, 2011, 08:05:20 am
Not possible in pawn till now but possible in Squirrel and mIRC Create Vehicle Create Pickup here an Example of Squirrel NOTE : UNTESTED i made it in 1 min by hand no sure it will work ..
it will create a PCJ bike near player !
Code: [Select]
local pos = player.Pos
CreateVehicle( 191 , Vector( pos , player.Angle );
EDIT:Test it in Squirrel server! not in Pawn!

WTF!! Then How aXXo Made a RoadBlock? It blocks the Bridge with cars it requires a Create Vehicle!! :O
Title: Re: Auto Event ??
Post by: BIG[H] on April 08, 2011, 10:27:09 pm
Use PlayerToPoint EASY!!
Title: Re: Auto Event ??
Post by: yazeen on April 09, 2011, 12:39:08 pm
Use PlayerToPoint EASY!!

OMG playertopoint for making cars????????? playertopoint is used for everything omg?!!!