LoadPIckups

Started by [VSS]Shawn, Jun 27, 2015, 08:55 AM

Previous topic - Next topic

Murdock

Quote from: [VSS]Shawn on Jun 27, 2015, 09:45 AMif ( binfo[player.ID].registered==true )
if ( binfo[player.ID].logged==true )
if (pickup.Model == 408)
if(pickup.ID==18)
if(GetRobskills(player)>0)
    if (GetJob(player)==1)
if(pinfo[player.ID].C4==1)

NewTimer( "Count1", 1000, 1, 10, player.ID );
NewTimer( "Count1", 2000, 1, 9, player.ID );
NewTimer( "Count1", 3000, 1, 8, player.ID );
NewTimer( "Count1", 4000, 1, 7, player.ID );
NewTimer( "Count1", 5000, 1, 6, player.ID );
NewTimer( "Count1", 6000, 1, 5, player.ID );
NewTimer( "Count1", 7000, 1, 4, player.ID );
NewTimer( "Count1", 8000, 1, 3, player.ID );
NewTimer( "Count1", 9000, 1, 2, player.ID );
NewTimer( "Count1", 10000, 1, 1, player.ID );
}

Why did you have to do this to my eyes?

Stormeus

Did you really just give us a 100+ line function and ask us to solve it while giving us almost no relevant information?

Think logically. Your pickup ID obviously does not match the property ID. You could probably print the ID from the pickup and figure it out from there.

Also,
function onPickupPickedUp( player, pickup )
{
 if ( binfo[player.ID].registered==true )
  {
   if ( binfo[player.ID].logged==true )
   {
    if (pickup.Model == 408)
    {
      if(pickup.ID==18)
      {
       if(GetRobskills(player)>0)
       {
           if (GetJob(player)==1)
        {
        if(pinfo[player.ID].C4==1)
        {

What the fuck?

DizzasTeR

@Stormeus, "if", you get what I mean huh?

[VSS]Shawn

I cant understand what u r saying stormeus

Thijn

Quote from: [VSS]Shawn on Jun 28, 2015, 08:15 AMI cant understand what u r saying stormeus
Then for the love of god stop scripting. Please, just play 0.4...

[VSS]Shawn

Just help me in here i will not post again

Sebastian

Quote from: [VSS]Shawn on Jun 28, 2015, 10:13 AMJust help me in here i will not post again

"until I create a new account."

[VSS]Shawn

i dont wanna create account just help here

Thijn

Quote from: [VSS]Shawn on Jun 28, 2015, 02:46 PMi dont wanna create account just help here
We tried the best we can, you just have to admit you're too stupid to script.

Locked.