Vice City Multiplayer

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

Title: Auto Event ??
Post by: locday123 on February 09, 2011, 03: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, 03:55:31 PM
what u mean auto event please explain so ill help
Title: Re: Auto Event ??
Post by: locday123 on February 14, 2011, 01:35:51 PM
Quote from: yazeen on February 13, 2011, 03:55:31 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, 03: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, 01: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, 01:13:41 PM
He means a special event that happens after 20 mins.
Title: Re: Auto Event ??
Post by: Robd on February 26, 2011, 04:47:55 AM
Use timers
Title: Re: Auto Event ??
Post by: heekz.shadow on March 02, 2011, 05:15:01 PM

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

SetTimer("Event1",50000,1);
Title: Re: Auto Event ??
Post by: Castagna96 on March 09, 2011, 07:00:43 AM
SetPlayerWeapon(i,random(33),9999);
that exist?
Title: Re: Auto Event ??
Post by: Robd on March 30, 2011, 03:14:02 AM
I'm 90% that would work, yes
Title: Re: Auto Event ??
Post by: tato on March 30, 2011, 04:37:46 AM
Quote from: Castagna96 on March 09, 2011, 07:00:43 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, 09:01:17 AM
Quote from: tato on March 30, 2011, 04:37:46 AM
Quote from: Castagna96 on March 09, 2011, 07:00:43 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, 03:43:51 AM
Quote from: yazeen on March 30, 2011, 09:01:17 AM
Quote from: tato on March 30, 2011, 04:37:46 AM
Quote from: Castagna96 on March 09, 2011, 07:00:43 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, 09:45:54 AM
Quote from: tato on March 31, 2011, 03:43:51 AM
Quote from: yazeen on March 30, 2011, 09:01:17 AM
Quote from: tato on March 30, 2011, 04:37:46 AM
Quote from: Castagna96 on March 09, 2011, 07:00:43 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, 01:12:16 AM
Quote from: Madara on March 31, 2011, 09:45:54 AM
Quote from: tato on March 31, 2011, 03:43:51 AM
Quote from: yazeen on March 30, 2011, 09:01:17 AM
Quote from: tato on March 30, 2011, 04:37:46 AM
Quote from: Castagna96 on March 09, 2011, 07:00:43 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, 09:06:59 AM
Create Vehicle Works??????????? During Game
Title: Re: Auto Event ??
Post by: BIG[H] on April 07, 2011, 09: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 !
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, 07:05:20 AM
Quote from: BIG[H] on April 07, 2011, 09: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 !
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, 09:27:09 PM
Use PlayerToPoint EASY!!
Title: Re: Auto Event ??
Post by: yazeen on April 09, 2011, 11:39:08 AM
Quote from: BIG[H] on April 08, 2011, 09:27:09 PM
Use PlayerToPoint EASY!!

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