Search Results
You had a return 1; in the middle, so i put all the code inside that OnPlayerExitVehicle callback if that is how it is meant to be.
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid){ To...
260
Quote:
Originally Posted by ~ ЉǾǖŦĦЗŁΛẄ ~
No the variables are only changed in those callbacks
This is what's annoying me I can't understand what it is
Try the code out, se...
353
It seems ok, but i've simplified it a bit. Try it now.
Before the countdown starts, the values should be as so:
pawn Code:
Tmin = [whatever minute you want];Tsec = 0;
pawn Code:
public SetCountDo...
353
There is a more easier way of doing it. This was already posted a long time ago, which i also use on my server. Anyways here it is:
pawn Код:
forward ChangeHostname(); // at the toppublic OnGameMo...
289
Quote:
Originally Posted by [03
Garsino ]
pawn Код:
TogglePlayerControllable(playerid, 0); // Inside OnPlayerSpawn SetTimerEx("PlayerUnfrozen", 5000, false, "i", playerid); // Ins...
430
pawn Код:
pgate = CreateStreamObject(986, 818.433, -2517.337, 8.556, 0.0, 0.0, 0.0, 200.00); MoveStreamObject(pgate, 48.344, 6541.454, 34.556, 2.5);
Also:
Quote:
Originally Po...
365
deleted. Wrong thread
6,132
You are missing the viewdist paramaters as you can see:
pawn Код:
CreateStreamObject(modelid, Float:xpos, Float:ypos, Float:zpos, Float:xrot, Float:yrot, Float:zrot, Float:viewdist)CreateStreamOb...
365
you should post any topics regarding a filterscript/gamemode in the relevant topics to get better response. Anyways, you're using MoveObject, you need to use MoveStreamObject as the MidoStream topic s...
365
Rather than using a command to change the score of each team, i'd recommend using a timer, it should save you time having to change team's score manually. I can make you a command to change the team n...
192
Show us your /robcasino command
175
Try this:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){ if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { if ((newkeys & KEY_JUMP) && !...
255
Quote:
Originally Posted by patchkinson
it Didnt Find
You only searched within the 0.3 Scripting board. Next time press the search tab rather than searching straight in the box on ur ...
207
Well, first of all, it is not clear whether this is a loop through all players or the timer is being called passsing the playerid parameter. But assuming you want a general timer looping through all p...
289
Quote:
Originally Posted by Naruto4
Код:
C:\Users\Mich\Desktop\LV Role Play\gamemodes\rp.pwn(26827) : error 076: syntax error in the expression, or invalid function call
Pawn compiler ...
388
Oops, sorry change this line:
pawn Код:
if(PlayerToPoint(10.0, i, 2237.188965, 2448.813232, 9.845795) && HasPGP[i] == 1)
to this:
pawn Код:
if(PlayerToPoint(10.0, playerid, 2237.1889...
388
Quote:
Originally Posted by Naruto4
Thanks mate.(working on it,i let you know if it works)
Whilst you were working on it, i also was working on it before your post. Since i've made it, ...
388
Assuming that strtok is used both on your gamemode and also in your filterscript (LAdmin) then you can just leave it. You shouldn't have any warnings. If you do, then why not just rename one of the fu...
346
Quote:
Originally Posted by Lilcuete
Ok when i /invite someone it invites them but when they type in done they spawn somewhere else flying the air and den spawns in BlueBerry how can i fix...
231
Post your OnPlayerEnterVehicle code and your OnPlayerStateChange code (if you have them).
219