AddStaticPickup error
#1

Script:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    AddStaticPickup(1239, X, 1778.5148, -1575.8615, 17.4416); // Line 4
    return 1;
}
Error:
pawn Код:
C:\Documents and Settings\*****\Desktop\Desktop\server\gamemodes\tessssssssst.pwn(4) : error 017: undefined symbol "X"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
On weeddarr website i found that X on the Pickup's thingy is to do nothing with the pickup, not to respawn and not to take it..

And when i tried to put it and compile, it gave me the error that you guys see..

On Weeddar webpage of X: X = can't pick it up
Reply
#2

You can't write there letters, numbers only.
Check in wiki what each id does.
Reply
#3

X = can't pick it up
* = will lock your movement forward if walked on (I don't advise using it.)

0 Item does not display
2 Pickupable and respawns after a few minutes
3 Pickupable, no respawn
4 Disappears shortly after creation (used for drops?)
5 Disappears shortly after creation (used for drops?)
8 pickupable (no effect) - disappears shortly after creation (used for ?)
11 Blows Up few seconds after creation*
12 Blows Up few seconds after creation (car explosion? timer is the burning flame?)
13 X - Slowly descends in Z and eventually goes through the floor (parachute?)
15 Pickupable, no respawn
19 Pickupable with no effect (Information icon?)
22 Pickupable, no respawn


These are the types, i need the " X " one :/
Reply
#4

Quote:
Originally Posted by Moustafa
Script:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    AddStaticPickup(1239, X, 1778.5148, -1575.8615, 17.4416); // Line 4
    return 1;
}
Error:
pawn Код:
C:\Documents and Settings\*****\Desktop\Desktop\server\gamemodes\tessssssssst.pwn(4) : error 017: undefined symbol "X"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
On weeddarr website i found that X on the Pickup's thingy is to do nothing with the pickup, not to respawn and not to take it..

And when i tried to put it and compile, it gave me the error that you guys see..

On Weeddar webpage of X: X = can't pick it up
pawn Код:
AddStaticPickup(1239, 1, 1778.5148, -1575.8615, 17.4416); // Line 4
that should work mate.
Reply
#5

Didn't work..
Reply
#6

really? what errors? if so what are they?
Reply
#7

X?
Reply
#8

pawn Код:
AddStaticPickup(1239, 19, 1778.5148, -1575.8615, 17.4416);
19 Pickupable with no effect (Information icon?)
Reply
#9

nvm fixed
Reply
#10

what was the problem then mate? as mine works fine like that?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)