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.


Messages - mrockxkingbutt

Pages: 1 2 3 [4] 5 6 ... 25
46
mIRC/pawn Scripting / Re: How to set an explosion and area ?
« on: April 03, 2014, 03:18:03 pm »
I want the function of explosion for script and how to set an area when somebody come in it will send client message , i want to know the function, who can tell me ?

it will be possible to kill a player when in a area you want to kill.

but impossible to explosion.
 but kinda possible

by adding a vehicle underground of area.
and set a timer loop for it destroying again and again to set explosion!

47
Snippet Showroom / Vehicle Fixing [ 5 Seconds ] [ Working ] [ By me ]
« on: April 03, 2014, 03:13:42 pm »
Add

Code: [Select]
Fixing[MAX_VEHICLES];
command [ put in OnPlayerCommand ]

Code: [Select]
    else if (strcmp(cmd, "fix", true) == 0) {
if(Fixing[GetPlayerVehicleID(playerid)] == 1) SendClientMessage(playerid,COLOR_RED," Already Fixing This Vehicle ");
else if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_RED," Not In Vehicle ");
else {
Fixing[GetPlayerVehicleID(playerid)] = 1;
SendClientMessage(playerid,COLOR_RED," Fixing ");
SetTimer("VehicleFixing", 10000, 0);
}
    return 1;
    }

Timer

Code: [Select]
forward VehicleFixing();
public VehicleFixing() {
for(new i ; i <MAX_VEHICLES;i++) {
if(Fixing[i] == 1) {
SetVehicleHealth(i, 1000);
SendClientMessageToAll(COLOR_GREEN," Vehicle Has Been Fixed ");
SetVehicleTyre(i,1);
Fixing[i] = 0;
}
}
return 1;
}

Credits : ME

48
mIRC/pawn Scripting / Re: I need Goto and gotoloc cmd with timer
« on: April 03, 2014, 02:57:18 pm »
I need Goto and gotoloc cmd with timer please help me as soon as possible

done. go here

http://forum.vicecitymultiplayer.com/index.php?topic=6689.new#new

49
Snippet Showroom / Gotoloc In 5 Seconds [ GUPS ] [ By Me ]
« on: April 03, 2014, 02:55:24 pm »
Add ...

Code: [Select]
enum Teleports
{
Float:FL1,
Float:FL2,
Float:FL3,
}

Code: [Select]
Tele[MAX_PLAYERS][Teleports];
Teleporting[MAX_PLAYERS];

Now Add Command..

Code: [Select]
    else if (strcmp(cmd, "gotoloc", true) == 0) {
tmp = strtok(cmdtext, idx);
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN,"USAGE: /c gotoloc [Name]");
else {
    new splitx[3][128], szMsg[256];
    if(!IsLocationExist(tmp)) {
    format(szMsg,sizeof(szMsg),"Location:[ %s ] does not exist.",tmp);
SendClientMessage(playerid,COLOR_GREEN,szMsg);
return 1;
    }
   
    split(dini_Get("/SavedLocations/Locations.ini",tmp), splitx, ' ');

SetTimer("GotolocTime", 5000, 0);
    Teleporting[playerid] = 1;
    format(szMsg,sizeof(szMsg),"Teleporting to location:[ %s ]",tmp);
SendClientMessage(playerid,COLOR_GREEN,szMsg);
Tele[playerid][FL1] = floatstr(splitx[0]);
Tele[playerid][FL2] = floatstr(splitx[1]);
Tele[playerid][FL3] = floatstr(splitx[2]);

 TogglePlayerControllable(playerid, 0);

}
return 1;
    }

Timer

Code: [Select]
forward GotolocTime();
public GotolocTime() {
for(new i = 0; i < MAX_PLAYERS; i++) {
if(Teleporting[i] == 1) {
SetPlayerPos(i,Tele[i][FL1],Tele[i][FL2],Tele[i][FL3],0,0);
GameTextForPlayer(i,"Teleported");
Teleporting[i] = 0;
TogglePlayerControllable(i, 1);
}
}
return 1;
}

CREDITS : ME








50
mIRC/pawn Scripting / Re: I need Goto and gotoloc cmd with timer
« on: April 03, 2014, 02:23:43 pm »
I need Goto and gotoloc cmd with timer please help me as soon as possible

kind a possible will try soon!

51
Snippet Showroom / Re: Vehicle fix system TESTED {FIXED}
« on: April 03, 2014, 02:22:03 pm »
well what are these bugs for example?

[pawn]else if(strcmp(cmd, "!fix", true)==0)
{
    if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid, 0xFF0000AA, "You're on foot");
    else {
        new Float:vhp, vid = GetPlayerVehicleID(playerid);
        GetVehicleHealth(vid, vhp);
        if(vhp == 1000) SendClientMessage(playerid, 0xFF0000AA, "Your vehicle is okay");
        else{
        new cash = GetPlayerMoney(playerid);
        if(cash <= 299) SendClientMessage(playerid, 0xFF0000AA, "You're poor buddy");
        else {
        SendClientMessage(playerid, 0xFFFFFFFF, "Your vehicle has been repaired");
         SetVehicleHealth(vid, 1000);
         DecPlayerHandCash( playerid, 300 );}
         }
    }
}
[/pawn]

Did it work? Huh, amazing, I didnt know I can post working code from mobile phone

your cmd have got many bugs i fixed then it works :-)

its not nesk's code bug. that is a pawno code bug. in bbc code of pawno in forum..

the code works ..

52
Snippet Showroom / Language SYstem [ v2 ] [ By me ]
« on: March 29, 2014, 08:55:11 pm »
!!!

Add

Code: [Select]
new PlayerName[MAX_PLAYERS][MAX_PLAYER_NAME+1]; // for others not gups

Code: [Select]
new gPlayers[MAX_PLAYERS][MAX_PLAYER_NAME+1]; // for gups
Add Commands In OnPlayerCommandText

Code: [Select]
else if(strcmp(cmd,"english", true) == 0) {
SendClientMessage(playerid,COLOR_GREEN," Just Set Language To English ");
Language[playerid] = 1;
return 1;
}
else if(strcmp(cmd,"spainish", true) == 0) {
SendClientMessage(playerid,COLOR_GREEN," Sólo tienes que configurar su idioma Para Spainish");
Language[playerid] = 2;
return 1;
}
else if(strcmp(cmd,"language", true) == 0) {
new xD[123];
format(xD,123," %s 's Langauge, %s ", PlayerName, GetPlayerLanguage(playerid));
SendClientMessageToAll(COLOR_GREEN,xD);
return 1;
}

Add On OnPlayerConnect
Code: [Select]
if(Language[playerid] == 2) {
new xD[123];
format(xD,123,"%s Conectado al servidor", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}
if(Language[playerid] == 1) {
new xD[123];
format(xD,123,"%s Connect To Server", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}


OnPlayerDisconnect

Code: [Select]
if(Language[playerid] == 2) {
new xD[123];
format(xD,123,"%s dejado el servidor", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}
if(Language[playerid] == 1) {
new xD[123];
format(xD,123,"%s left the server", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}

OnPlayerSpawn

Code: [Select]
if(Language[playerid] == 2) {
new xD[123];
format(xD,123,"%s ha generado " , PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}
if(Language[playerid] == 1) {
new xD[123];
format(xD,123,"%s Has Spawned" , PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}

OnPlayerDeath

Code: [Select]
if(Language[playerid] == 2) {
new xD[123];
format(xD,123,"%s ha muerto", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}
if(Language[playerid] == 1) {
new xD[123];
format(xD,123,"%s has died", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}

Add This In. OnPlayerSpawn, OnPlayerDeath, OnPlayerConnect & OnPlayerDisconnect

Code: [Select]
GetPlayerName(playerid,PlayerName[playerid],MAX_PLAYER_NAME);
Public To Check Player Language!!

Code: [Select]
public GetPlayerLanguage(playerid) {
if(Language[playerid] == 0) {
SendClientMessage(playerid,COLOR_RED," Language Default ( English )");
}
if(Language[playerid] == 1) {
SendClientMessage(playerid,COLOR_GREEN," Language : English ");
}
if(Language[playerid] == 2) {
SendClientMessage(playerid,COLOR_BLUE,"Malpas: Spainish");
}
return 1;
}






53
mIRC/pawn Scripting / Re: need fix system for vehicles
« on: March 29, 2014, 01:46:58 am »
i need !fix cmd for vehicle with pay $300

for gups!
Quote
else if(strcmp(cmd,"!fix", true) == 0) {
if(GetPlayerHandCash(playerid) > 299) SendClientMessage(playerid,COLOR_RED," Not Enough Cash Need 300$ "):
else if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_RED," Not In Vehicle ");
else {
new vehicleid = GetPlayerVehicleID(playerid); // vehhicle strings
SetVehicleHealth(vehicleid,1000);
SetVehicleTyres(vehicleid,1);
SendClientMessage(playerid,COLOR_RED," Repaired The Vehicle ");
}
return 1;
}

54
mIRC/pawn Scripting / Re: Plese help!!!
« on: March 27, 2014, 12:01:42 am »
talking to admin is allowed desides.
i am telling him . only not talking him!

But could you please stop that: "Stormeus do this", "Stormeus do that", "Stormeus move that there"?

as u wish!

55
mIRC/pawn Scripting / Re: Plese help!!!
« on: March 24, 2014, 01:07:20 am »
@STormeus Move It To Support!


Use A Compler .. Pawno For That

Stop talking to Stormeus like he's a big friend of yours. It really disgusts.

On Topic: open your .pwn file and press F5 (or a blue arrow key).

talking to admin is allowed desides.
i am telling him . only not talking him!

like
Quote
heeeey storm hooow aaaare yuuuu.
oiii neeeed halp phr0m yoooo . kan yoew halp me pl0z?

56
This is a backwards way of approaching this. You're just making up nominations. If this were actually a community award, there'd be a thread for nominations for each category, followed by polls for each category based on people the community nominated.
stormeus . i will lock this topic!

if you would like to make community award. make it. because this topic stinks!

locked!

57
I don't  understand why you put your name in this poll too, mrock.

am i ghost? or its a crime?

Well, you had your name in the poll for Senior Scripter, and now you are in the poll for Junior Scripter.
Like I said, if this kind of topic will ever take place again, someone from VC:MP staff should do that.

i wrongfully added my name in senior scripters.
not every place -_-

58
So is this post mean you want get archievment or be famous vcmp people ? . Be honestly

Yes. I Will Get It If Peoples VOte -_-
Lol No

59
I don't  understand why you put your name in this poll too, mrock.

am i ghost? or its a crime?

60
Stormeus Has Received Best Scripter ( Senior ) . Award/Debut . Congratulations Stormeus. Keep Up The Good Work

Stormeus Has Won By 7 Votes

Im not even sure if stormeus is a scripter
i think storm aslo script for ArgonathRPG and he is developer not 100% scripter

No-One Here Is 100%
Quote
because everyone here is still learning pawn. this lession will never over!

Users Gave Him Vote So he Win . Its Not My Opinion

Pages: 1 2 3 [4] 5 6 ... 25