Search Results
Hey guys,
the result of the function below should be a float. But I get one warning. Does anybody know how to solve that problem?
Thanks in advance!
Код:
stock sin(x){
new Float:erg=x;
for(new i...
150
Hey, guys!
In my lil' GM is a plane which shall start and fly. I let the plane move on the X- and Z-coordinate with two functions (they're mathematic correctly). But only the X-coordinate change, not ...
93
Thanks man, but "argument type mismatch (argument 3)" at GetPlayerWeaponData...
199
HI, I've got a problem.
The server gives everyone a random weapons when they spawn. I don't want that they get granades and a rocket launcher together. One of them get exchanged for a minigun or tear ...
199
Hey, guys!
I'd like to have a testing on the player's health. I wrote a test code but there's a problem. After I spawned the tset mesage is sended but nothing more happens then. What could be wrong or...
214
Quote:
Originally Posted by 0rb
Always divide by a float.
pawn Код:
new Float:RandomGravity=random(24)/2000.000+0.002;SetGravity(RandomGravity);
Thank you, it works.
174
Hey folks,
I'm using a varible to get an random gravity.
pawn Код:
new Float:RandomGravity=random(24)/2000+0.002;SetGravity(RandomGravity);
Now the problem is that I always get a the same gravity ...
174
Quote:
Originally Posted by Seif_
pawn Код:
new Float:GravityValues[]={ 0.0080, 0.0070, //etc. 0.0295, 0.0300};//timernew RandomGravity = random(sizeof(Gravity...
328
Quote:
Originally Posted by MenaceX^
%f.
This looks now like this: 0.000000.
328
pawn Код:
new Float:GravityValues[][1]={{0.0080},{0.0070},//etc.{0.0295},{0.0300}};
328
Hey guys,
I've got a problem. I'm using a random gravity, changing after a certain time (I'm using a timer therefor).
The gravity change, then a message should be sended. e.g. "New Gravity: 0.002" -&g...
328
Doesn't matter anymore, I fixed the problem but thank you for helping.
252
warning 203: symbol is never used: "GetWinner"
252
Hi, folks!
How to do that after a while (I've already made a timer[timer's named "Winner"]) the score of players get checked. Then the player with the highest score should win the round. (Show the nam...
252
Quote:
Originally Posted by anonymoushacker
here is a muuucchhh easier way.
Код:
new rand;
rand = random( number of teleports );
rand++; //changes the 9 to 10, elimanting the numb...
183
1. You choose a position in the Debug Mode
2. You type /save [comment]
3. Have a look at the savedpositions.txd
4. It will look like this: AddPlayerClass(0,2198.7981,2341.3992,10.6719,222.9 416,0,0,0...
281
You can use Debug to get the pickups' positions. Just save the PlayerClass and use its X- Y- and Z-value for the pickup.
Hope I could help you a bit.
Marc_307
281