Raised This Month: $ Target: $400
 0% 

[ZP] Lasermines ayuda !


  
 
 
Thread Tools Display Modes
Author Message
Sidix
Senior Member
Join Date: Feb 2011
Location: Limbo City
Old 06-22-2012 , 12:30   [ZP] Lasermines ayuda !
#1

hola quiero saber si existe otra manera de setearle las lasermine al player

use este metodo pero no me funciona:

PHP Code:
native set_laserminas(idamountx)

    
g_lm[id] = 
}

native get_laserminas(id)

    return 
g_lm[id]; 

PHP Code:
// Ham Player Spawn Post Forward
public fw_PlayerSpawn_Post(id)
{
    
set_laserminas(id1)

uso esta lm:
LASERMINE

otra manera?
gracias de antemano

saludos.
__________________
[IMG]http://img839.**************/img839/1879/dmcdanteprofile.png[/IMG]

Last edited by Sidix; 06-22-2012 at 12:31.
Sidix is offline
xLeoNNN
Veteran Member
Join Date: Sep 2010
Location: de_dust2
Old 06-22-2012 , 13:45   Re: [ZP] Lasermines ayuda !
#2

native set_laserminas(id, amount, x)
{
g_lm[id] = x
}

>>

native set_laserminas(id, x)
{
g_lm[id] = x
}
__________________
xLeoNNN is offline
Send a message via MSN to xLeoNNN
Sidix
Senior Member
Join Date: Feb 2011
Location: Limbo City
Old 06-22-2012 , 15:22   Re: [ZP] Lasermines ayuda !
#3

Quote:
Originally Posted by xLeoNNN View Post
native set_laserminas(id, amount, x)
{
g_lm[id] = x
}

>>

native set_laserminas(id, x)
{
g_lm[id] = x
}
gracias voy a probar.

Saludos.
__________________
[IMG]http://img839.**************/img839/1879/dmcdanteprofile.png[/IMG]
Sidix is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 06-23-2012 , 20:24   Re: [ZP] Lasermines ayuda !
#4

Quote:
Originally Posted by Sidix View Post
hola quiero saber si existe otra manera de setearle las lasermine al player

use este metodo pero no me funciona:

PHP Code:
native set_laserminas(idamountx)

    
g_lm[id] = 
}

native get_laserminas(id)

    return 
g_lm[id]; 

PHP Code:
// Ham Player Spawn Post Forward
public fw_PlayerSpawn_Post(id)
{
    
set_laserminas(id1)

uso esta lm:
LASERMINE

otra manera?
gracias de antemano

saludos.
Cuando usas la native le setias 1 al parámetro 'amount' pero igualas la variable al parámetro 'x' que siempre es 0.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Sidix
Senior Member
Join Date: Feb 2011
Location: Limbo City
Old 06-23-2012 , 20:59   Re: [ZP] Lasermines ayuda !
#5

Gracias me sacaste una duda Neeeeeeeeeel.-
__________________
[IMG]http://img839.**************/img839/1879/dmcdanteprofile.png[/IMG]
Sidix is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode