• Welcome to Vice City Multiplayer.
 

Function Pickups help plz

Started by Castagna96, February 28, 2011, 01:41:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Castagna96

ok
Quotefor(new i = 0; i>=91; i<=103; i++) {

heekz.shadow

try this
for(new i; i<=91; i>=93; i++) {

you can change just 91 and 93 but man,close the bracket I putted {


Pro Scripter[/b][/i][/u]

Castagna96


Castagna96

 :o :o :o still the same 4 errors maby we need to identify the i whats the function of the i

heekz.shadow

new i; i>=91; i<=103;
if(pickupid == i++)
{
// Things to come
}


try this


Pro Scripter[/b][/i][/u]

Castagna96


Castagna96

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

Castagna96

no errors,yes warns,don't work mmm ???

Castagna96

QuoteC:\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

shivambansal


heekz.shadow

for(new i; i>90; i<104; i++)
{
// things to happen
}


Pro Scripter[/b][/i][/u]

Castagna96

QuoteC:\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
   for(new i; i>91; i<103; i++)
maby we need to  define the function of the i

Castagna96


heekz.shadow

#28
oough I think I got this.

for(new i=0; i++);
if((i++ >= 93) || (i++ <=103)) {
// things to happen
}


Pro Scripter[/b][/i][/u]

Castagna96