Posts: 352
	Threads: 37
	Joined: Jun 2012
	
	
 
	
	
		When i'm using player textdraws, do I need an array for them?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 1,023
	Threads: 50
	Joined: Mar 2007
	
Reputation: 
0
	 
	
	
		Does anyone know what could cause a player to fly upwards, when being spawned into a vehicle? (or just in general)
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 1,023
	Threads: 50
	Joined: Mar 2007
	
Reputation: 
0
	 
	
	
		Well, It happens when I try to create a car and PutPlayerInVehicle, so I am assuming something is going wrong, but I can't figure out what. So i'm just hoping someone has experienced this and can give a reason, i've tried to use if(!IsPlayerInAnyVehicle){ // put player back in the vehicle } but that doesn't help.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 610
	Threads: 18
	Joined: Jan 2014
	
Reputation: 
0
	 
	
	
		Can UsePlayerPedAnims(); configured with plugin?
like this :
UsePlayerAnimGrp();
UseManAnimGrp();
UseWomanAnimGrp();
UseGang1AnimGrp();
UseGang2AnimGrp();
UseSWATAnimGrp();
...
Or
UsePlayerPedAnims(playerid); // for one player, not all
is it possible with plugin?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 1,336
	Threads: 30
	Joined: Aug 2010
	
Reputation: 
0
	 
	
	
		So far i can think is a No. 
You can play with ApplyAnimation and some correct timing with key states and play animations but that wont do any good.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 352
	Threads: 37
	Joined: Jun 2012
	
	
 
	
	
		Could something block TogglePlayerControllable effects in OnPlayerSpawn/just after it? For some reason players don't freeze but the native gets called.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 800
	Threads: 48
	Joined: Apr 2012
	
Reputation: 
0
	 
	
	
		its from the sa-mp scripts website. copy "/post/14664/American_Roleplay/micha654/gamemodes/rp" and add it in the edn of "http://******************/"
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 352
	Threads: 37
	Joined: Jun 2012
	
	
 
	
	
		
pawn Код:
#include <a_samp>
new dimarray[][] =
{
    {10, 69, 27},
    {22, 33, 44},
    {15, 16, 9}
};
main() {}
public OnGameModeInit()
{
    PrintArray(dimarray[][0]); // How should this be?
    return 1;
}
stock PrintArray(array[3])
{
    for (new i, j = sizeof(array); i < j; i++) printf("%i", array[i]);
    return 1;
}
 
How could I access the second dimension and print values 10, 22 and 15?
	
 
	
	
	
		
	
 
 
	
	
	
		
	Posts: 352
	Threads: 37
	Joined: Jun 2012
	
	
 
	
	
		Did you even look at the function?
Edit: Basically I could do this but I know that there must be a better way...
pawn Код:
public OnGameModeInit()
{
    const temp = sizeof(dimarray[]);
    new temparray[temp];
    for (new i; i < temp; i++) temparray[i] = dimarray[i][0];
    PrintArray(temparray);
    return 1;
}