Search Results
Is it this one? We have the same teleport in our gamemode.
PHP код:
SetPlayerInterior(playerid, 7);
SetPlayerPos(playerid, 226.1118, 1024.4648, 1084.0078);Â
294
not sure if much people remember me, but I still lurk around here occasionally
7,996
You were only missing two brackets, and there were only 2-3 indentation warnings!
pawn Код:
if (strcmp("/takeoff", cmdtext, true, 10) == 0 || (strcmp("/t", cmdtext, true, 10) == 0)
to
pawn К...
179
Quote:
Originally Posted by MasonSFW
Its work !!! @Madd92
But i want
pawn Код:
stock ChangePlayerName(playerid){Â Â new name[MAX_PLAYER_NAME], i;Â Â GetPlayerName(playerid, name...
174
I suppose you could use something like this to generate normalized random floating point numbers (between 0 and 1):
pawn Код:
stock Float:frandnorm(const RAND_MAX = 32767){Â Â //Using C's RAND_...
159
PHP код:
//Add 10 to the player's score.
PlayerInfo[playerid][score]Â +=Â 10;Â
which is the same as
PHP код:
//Add 10 to the player's score.
PlayerInfo[playerid][score]Â...
100
something similar to this intrigued me a while back, so I ended up writing a script producing all(?) different types of vending machines in a line. The one you're looking for is non-solid (you can wal...
94
http://translationparty.com/#10411143
I think I broke it :(
176
Precision when using floats must be in the format "%.(precision)f", not "%(precision).f".
Try:
pawn Код:
GetWeaponName(reason,gunname,sizeof(gunname));Â Â Â Â Â Â GetPlayerName(playerid,fN...
75
Wow man nice. Never before have I been able to have an epileptic fit whilst I sip my Martini!
Now with this, I am never plagued by choosing one or the other. It's not a case or "this or that", but ra...
462
Jokes aside (MS Paint is a joke in itself), you're probably best off using Photoshop.
Or you could ****** a banner maker, and create some crappy one with super-cool stars and rainbows and stuff.
87
Windows batch file. (hence .bat)
http://en.wikipedia.org/wiki/Batch_file
180
Two elses. Remove one.
Edit: actually you missed a brace after second else:
pawn Код:
CMD:pd(playerid, params[]){Â Â if(PlayerInfo[playerid][pFaction] == 1)Â Â {Â Â Â Â if(pddoor1 == 0)Â...
81
return 1; is outside of command, leadercmds never returns anything?
101
Quote:
Originally Posted by thefatshizms
pawn Код:
CMD:goto(playerid, params[]){Â Â new id;Â Â new Float:X, Float:Y, Float:Z;Â Â if(sscanf(params,"u",id)) return SendClientMessag...
132
Quote:
Originally Posted by Rudy_
What's wrong with this?
pawn Код:
command(bribe, playerid, params[]){Â Â new id,str[128], money, name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];Â Â ...
146
pawn Код:
if( !strcmp(cmdtext, "/wanted") ){  //They typed /wanted.    if( GetPlayerWantedLevel(playerid) == 5 )  {    //Player's wanted level is 5, set to 3.     Â...
146
To (de)indent portions of code?
It's Shift+Tab to de-indent code, and Tab to indent it.
72
"return;1" is invalid.
pawn Code:
// This is a comment// uncomment the line below if you want to write a filterscript//#define FILTERSCRIPT#include <a_samp>#include <streamer>public OnFi...
151
awesome gamemode by an awesome guy. Has it still got the car cannon still in it kaiser? haha.
1,384