Author Topic: Function Pickups help plz  (Read 13793 times)

0 Members and 3 Guests are viewing this topic.

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: Function Pickups help plz
« Reply #15 on: March 05, 2011, 11:59:32 pm »
ok
Quote
for(new i = 0; i>=91; i<=103; i++) {
Castagna - EA Founder


Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: Function Pickups help plz
« Reply #16 on: March 06, 2011, 11:50:28 am »
try this
Code: [Select]
for(new i; i<=91; i>=93; i++) {
you can change just 91 and 93 but man,close the bracket I putted {
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: Function Pickups help plz
« Reply #17 on: March 06, 2011, 07:55:02 pm »
ok thanks i will try
Castagna - EA Founder


Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: Function Pickups help plz
« Reply #18 on: March 06, 2011, 07:58:29 pm »
 :o :o :o still the same 4 errors maby we need to identify the i whats the function of the i
Castagna - EA Founder


Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: Function Pickups help plz
« Reply #19 on: March 06, 2011, 08:15:21 pm »
Code: [Select]
new i; i>=91; i<=103;
if(pickupid == i++)
{
// Things to come
}

try this
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: Function Pickups help plz
« Reply #20 on: March 07, 2011, 04:09:04 am »
ok i will try thanks ;D
Castagna - EA Founder


Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: Function Pickups help plz
« Reply #21 on: March 08, 2011, 05:05:23 am »
Oh my Gosh i think works no errors but warns i will try in the game if works ok thanks so much !!!!!!!!!!!11 ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
Castagna - EA Founder


Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: Function Pickups help plz
« Reply #22 on: March 08, 2011, 05:09:20 am »
no errors,yes warns,don't work mmm ???
Castagna - EA Founder


Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: Function Pickups help plz
« Reply #23 on: March 08, 2011, 05:13:02 am »
Quote
C:\Users\Tato\Desktop\servers de otra gente\server xa v6\gamemodes\mode.pwn(308) : warning 215: expression has no effect
C:\Users\Tato\Desktop\servers de otra gente\server xa v6\gamemodes\mode.pwn(308) : warning 215: expression has no effect
that is the warn but is not working when i pickup the pickup does not give me money mmmm rare ??? thanks as well
Castagna - EA Founder


Offline shivambansal

  • Wiseguy
  • **
  • Posts: 52
  • VC:MP Beta Tester
    • View Profile
Re: Function Pickups help plz
« Reply #24 on: March 08, 2011, 09:11:15 am »
use modify button :-\

Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: Function Pickups help plz
« Reply #25 on: March 08, 2011, 09:19:27 am »
Code: [Select]
for(new i; i>90; i<104; i++)
{
// things to happen
}
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: Function Pickups help plz
« Reply #26 on: March 08, 2011, 06:21:40 pm »
Quote
C:\Users\Tato\Desktop\servers de otra gente\server xa v6\gamemodes\mode.pwn(308) : warning 215: expression has no effect
C:\Users\Tato\Desktop\servers de otra gente\server xa v6\gamemodes\mode.pwn(308) : error 001: expected token: ")", but found ";"
C:\Users\Tato\Desktop\servers de otra gente\server xa v6\gamemodes\mode.pwn(308) : error 036: empty statement
C:\Users\Tato\Desktop\servers de otra gente\server xa v6\gamemodes\mode.pwn(308) : error 017: undefined symbol "i"
C:\Users\Tato\Desktop\servers de otra gente\server xa v6\gamemodes\mode.pwn(308) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


4 Errors.
Oh My Gosh we already tried all type of cmds and dont work  ???

line 308
Code: [Select]
   for(new i; i>91; i<103; i++)maby we need to  define the function of the i
Castagna - EA Founder


Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: Function Pickups help plz
« Reply #27 on: March 08, 2011, 06:22:06 pm »
thanks for trying still ;D
Castagna - EA Founder


Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: Function Pickups help plz
« Reply #28 on: March 08, 2011, 09:04:29 pm »
oough I think I got this.

Code: [Select]
for(new i=0; i++);
if((i++ >= 93) || (i++ <=103)) {
// things to happen
}
« Last Edit: March 08, 2011, 09:09:01 pm by heekz.shadow »
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: Function Pickups help plz
« Reply #29 on: March 09, 2011, 04:20:52 am »
i think let me try ok ;D ;D
Castagna - EA Founder