Streamer pickup not working.
#1

hey i dont know what is going on with the streamer pickup is no longer working for me i dont know if this is rite setup here is the code\setup

PHP код:
new Pickup[MAX_PLAYERS]; 
OnGamemodeIni()
PHP код:
Pickup[0] = CreateDynamicPickup(1318231368.6230, -1279.840013.5469, -1, -1, -150); 
callback
PHP код:
public OnPlayerPickUpDynamicPickup(playeridpickupid)
{
    if(
pickupid == Pickup[0])
    {
        
SetPlayerInterior(playerid1);
        
SetPlayerPos(playerid286.148986,-40.644397,1001.515625);
    }
    return 
1;

Reply
#2

Quote:
Originally Posted by UserName31
Посмотреть сообщение
hey i dont know what is going on with the streamer pickup is no longer working for me i dont know if this is rite setup here is the code\setup

PHP код:
new Pickup[MAX_PLAYERS]; 
OnGamemodeIni()
PHP код:
Pickup[0] = CreateDynamicPickup(1318231368.6230, -1279.840013.5469, -1, -1, -150); 
callback
PHP код:
public OnPlayerPickUpDynamicPickup(playeridpickupid)
{
    if(
pickupid == Pickup[0])
    {
        
SetPlayerInterior(playerid1);
        
SetPlayerPos(playerid286.148986,-40.644397,1001.515625);
    }
    return 
1;

Why are you using MAX_PLAYERS?

PHP код:
new Pickup
OnGamemodeIni()
PHP код:
Pickup CreateDynamicPickup(1318231368.6230, -1279.840013.5469, -1, -1, -150); 
callback
PHP код:
public OnPlayerPickUpDynamicPickup(playeridpickupid)
{
    if(
pickupid == Pickup)
    {
        
SetPlayerInterior(playerid1);
        
SetPlayerPos(playerid286.148986,-40.644397,1001.515625);
    }
    return 
1;

Reply
#3

Quote:
Originally Posted by [CG]Milito
Посмотреть сообщение
Why are you using MAX_PLAYERS?

PHP код:
new Pickup
OnGamemodeIni()
PHP код:
Pickup CreateDynamicPickup(1318231368.6230, -1279.840013.5469, -1, -1, -150); 
callback
PHP код:
public OnPlayerPickUpDynamicPickup(playeridpickupid)
{
    if(
pickupid == Pickup)
    {
        
SetPlayerInterior(playerid1);
        
SetPlayerPos(playerid286.148986,-40.644397,1001.515625);
    }
    return 
1;

it doesn't work
Reply
#4

[CG]Milito's Code right ,and make sure that the interior 1 is a valid interior
Try to see this tuto about streamer pickup
Reply
#5

Quote:
Originally Posted by AmirRFCNR
Посмотреть сообщение
[CG]Milito's Code right ,and make sure that the interior 1 is a valid interior
Try to see this tuto about streamer pickup
no it has it i checked but nothing i know i script it rite not even the checkpoint are showing
Reply
#6

Change this

PHP код:
Pickup CreateDynamicPickup(1318231368.6230, -1279.840013.5469, -1, -1, -150); 
with this

PHP код:
Pickup CreateDynamicPickup(131811368.6230, -1279.840013.5469, -1, -1, -150); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)