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 - heekz.shadow

Pages: 1 ... 14 15 [16]
226
mIRC/pawn Scripting / Re: Need a Pro Scripter
« on: March 03, 2011, 10:19:39 pm »
Dawood :D Just look over my gamemode and you will know who's good :D

227
mIRC/pawn Scripting / Re: Help
« on: March 03, 2011, 08:32:19 pm »
Code: [Select]
enum Clans {
EAF,
HPK,
RAF,
};

Code: [Select]
new ClansInfo[kills][Clans];
new ClanKill[MAX_PLAYERS];

at OnPlayerDeath:
Code: [Select]
ClanKill[killerid]++;
new name[5]; GetPlayerName(killerid,name,sizeof(name));
if(!strcmp(name,"[EAF]"));
{
ClansInfo[kills][EAF]++;
}
else if(!strcmp(name,"[HPK]"));
{
ClansInfo[kills][HPK]++;
}
else if(!strcmp(name,"[RAF]"));
{
ClansInfo[kills][RAF]++;
}

in your command:
Code: [Select]
new string[256]; format(string,sizeof(string),"EAF Kills: %d HPK Kills: %d RAF Kills: %d",ClansInfo[kills][EAF],ClansInfo[kills][HPK],ClansInfo[kills][RAF]);
SendClientMessage(playerid,color,string);

Too bored to write the whole command...



229
mIRC/pawn Scripting / Re: Function Pickups help plz
« on: March 03, 2011, 07:46:14 pm »
What? you don't understand? It is logically. JUST LEARN MATH. Im no.1 in math in my class.

230
Vice City / Re: Your favorite vice city radio station.
« on: March 03, 2011, 10:32:23 am »
Emotion,Wave 103,Flash-FM, VROCK!!!! and last but not least :O :O :O : MP3 PLAYER

231
mIRC/pawn Scripting / Re: Function Pickups help plz
« on: March 03, 2011, 10:23:56 am »
You want all the pickups from 80 to 85? ok Here you go:

Code: [Select]
for(new i; i>=80; i<=85; i++) {
if(pickupid == i) {
// Things to happen
}

Understood? It is  (i) and it is repeating cuz I set that ++ there. So it is bigger or equal with 80 and its less or equal with 85. It is repeating so it will return every number between 80-85 including'em (80,81,82,83,84,85).

232
mIRC/pawn Scripting / Re: Any RPG mods?
« on: March 03, 2011, 10:20:03 am »
No,I wont give another reply,just that you just copied a bit of my server,not as script,just as look :D. And I'm sorry aXXo if I copied a bit from your server-look.

233
mIRC/pawn Scripting / Re: help!
« on: March 02, 2011, 08:44:47 pm »
There are the cars hashes on the dir. Replace them with your coords :D

234
mIRC/pawn Scripting / Re: Any RPG mods?
« on: March 02, 2011, 08:44:03 pm »
Sorry about what I will say but yazeen,YOUR SCRIPT DON'T GOT ANY SENSE!!!

1. You copied me
2. Anyone can do !cop
3. First of all you made !retard
4. Occuring bugs when using space as the first letter
5. Your scripting is not good.

I'm really sorry about what I said but you just started to script after you saw my server and when FREESTYLE was made.You copied my whole script...

I won't cheer you,and please correct your english posts and use the dictionarry for better words quality.

235
mIRC/pawn Scripting / Re: [help]Money bug.
« on: March 02, 2011, 07:18:56 pm »
freestyle_Shadow cheers aXXo.

236
mIRC/pawn Scripting / Re: Auto Event ??
« 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);

237
mIRC/pawn Scripting / Re: Function Pickups help plz
« on: March 02, 2011, 05:51:48 pm »
look here

Code: [Select]
if((pickupid == 80) || (pickupid == 85))
{
SetPlayerHealth(playerid,55+10); // :D
}
else if(pickupid == 20)
{
SetPlayerScore(playerid,0); // :))
}
else if etc...
  ::)   ::)  ::)

and for your question,here is what I made:

Code: [Select]
new i;
for(i>=20,i<=40,i++);
use
Code: [Select]
if(pickupid == i) {
SetPlayerHealth(playerid,0);
}

238
mIRC/pawn Scripting / Re: Little scripting help here
« on: March 02, 2011, 05:47:55 pm »
I will post my answer to the last question when I will reach my home.I will give some that can help :D

Code: [Select]
new pizzas[MAX_PLAYERS];
Code: [Select]
forward SetPlayerMoneyLoss(playerid,ammount);
public SetPlayerMoneyLoss(playerid,ammount)
{
new cash; cash = GetPlayerMoney(playerid);
SetPlayerMoney(playerid,cash-ammount);
/*new string[256];
format(string,sizeof(string),"You lost $%d",ammount);
SendClientMessage(playerid,00000xFF,string);
*/
// To un-comment just delete the /* and */
return cash-ammount;
}
Made by me in 2 mins.

Code: [Select]
forward SetPlayerMoneyAdds(playerid,ammount);
public SetPlayerMoneyAdds(playerid,ammount)
{
new cash; cash = GetPlayerMoney(playerid);
SetPlayerMoney(playerid,cash+ammount);
/*new string[256];
format(string,sizeof(string),"You gained $%d",ammount);
SendClientMessage(playerid,00000xFF,string);
*/
// To un-comment just delete the /* and */
return cash+ammount;
}
also made by me in a few minutes.Those can help you :D

239
Tired of getting this warning? Wanna escape forever? Just place this magic code under your #includes.
As example:
Code: [Select]
#include <a_vcmp>
#include <core>
#include <float>
#pragma tabsize 0

The thingy who gets rid of the warning is:
Code: [Select]
#pragma tabsize 0It helped me a lot.

Press F5 Then laugh at the warning,cuz it flew away ;)

240
mIRC/pawn Scripting / Re: [Pawn]Timers
« on: February 10, 2011, 09:52:39 am »
aXXo...you made it with playerid...Why just dont help him with playerid at timers?

Pages: 1 ... 14 15 [16]