new p1
new p2
new p3
new p4
#endif
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public OnGameModeInit()
p1 = CreatePickup(1242, 2,106.9319,2526.3423,16.7592,-1);
p2 = CreatePickup(1242, 2,109.4811,2553.3660,304.4030,-1);
p3 = CreatePickup(1242, 2,226.6052,2527.8113,16.7939,-1);
p4 = CreatePickup(1242, 2,228.6457,2550.3142,304.4030,-1);
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(28) : error 001: expected token: ";", but found "new"
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(29) : error 001: expected token: ";", but found "new"
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(30) : error 001: expected token: ";", but found "new"
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(33) : error 001: expected token: ";", but found "public"
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(36) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(226) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(228) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(229) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(320) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(364) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(370) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(372) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(417) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(485) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(495) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(504) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(510) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(569) : warning 202: number of arguments does not match definition
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(573) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(576) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(578) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(581) : warning 217: loose indentation
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(203) : warning 204: symbol is assigned a value that is never used: "p1"
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(204) : warning 204: symbol is assigned a value that is never used: "p2"
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(205) : warning 204: symbol is assigned a value that is never used: "p3"
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(206) : warning 204: symbol is assigned a value that is never used: "p4"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
new p[4]; // Instead of 4 different global variables, let's wrap it into One(1)
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public OnGameModeInit()
{ // Need a Opening bracket.
// Now, You always start at [0], so if your total is 4, it's 0-3.
p[0] = CreatePickup(1242, 2,106.9319,2526.3423,16.7592,-1);
p[1] = CreatePickup(1242, 2,109.4811,2553.3660,304.4030,-1);
p[2] = CreatePickup(1242, 2,226.6052,2527.8113,16.7939,-1);
p[3] = CreatePickup(1242, 2,228.6457,2550.3142,304.4030,-1);
return 1;
}
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(203) : warning 204: symbol is assigned a value that is never used: "p1"
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(204) : warning 204: symbol is assigned a value that is never used: "p2"
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(205) : warning 204: symbol is assigned a value that is never used: "p3"
C:\Users\SEETANEEA\Desktop\kailash&div&ritesh songs\MUSIC FROM DESKTOP\!SAMP 3Z!\gamemodes\Untitled.pwn(206) : warning 204: symbol is assigned a value that is never used: "p4"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
/* These are here because " p " isn't being used in the script yet, aside from a Pickup's name, once you do something with it, the warnings will be removed. Ignore for now. */
new p1;
new p2;
new p3;
new p4;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public OnGameModeInit()
p1 = CreatePickup(1242, 2,106.9319,2526.3423,16.7592,-1);
p2 = CreatePickup(1242, 2,109.4811,2553.3660,304.4030,-1);
p3 = CreatePickup(1242, 2,226.6052,2527.8113,16.7939,-1);
p4 = CreatePickup(1242, 2,228.6457,2550.3142,304.4030,-1);
Wow
![]() After You Set A Var You Should Use ; Try This : PHP код:
|