SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 07/07/2020, 09:01 PM   #1
Nexotronix
Huge Clucker
 
Nexotronix's Avatar
 
Join Date: Jan 2010
Location: Donetsk/Ukraine
Posts: 275
Reputation: 41
Default stock GetDoorState(doorStates, Door:door, DoorState:doorState) Issue.

Hello everyone.

Why this lines :

pawn Code:
stock GetDoorState(doorStates, Door:door, DoorState:doorState)
    return (doorStates >>> (8 * door)) & doorState;


Lead to warning: “tag mismatch”?

Thanks.
__________________
Work In Progress:
[GameMode]Stroberia RolePlay (20%) [Join My Channel to take part in Testing http://discord.gg/sBpRC5E]
Development Video: Watch Here
Serverside Map/GPS System: Watch Here
Discord: Tom_Strobe#2300
Nexotronix is offline   Reply With Quote
Old 07/07/2020, 09:13 PM   #2
1sbedx
Huge Clucker
 
Join Date: Dec 2015
Posts: 360
Reputation: 49
Default Re: stock GetDoorState(doorStates, Door:door, DoorState:doorState) Issue.

pawn Code:
return (doorStates >>> (8 * _:door)) & _:doorState;
1sbedx is offline   Reply With Quote
Old 08/07/2020, 02:52 PM   #3
Nexotronix
Huge Clucker
 
Nexotronix's Avatar
 
Join Date: Jan 2010
Location: Donetsk/Ukraine
Posts: 275
Reputation: 41
Thumbs up Re: stock GetDoorState(doorStates, Door:door, DoorState:doorState) Issue.

Quote:
Originally Posted by 1sbedx View Post
pawn Code:
return (doorStates >>> (8 * _:door)) & _:doorState;

Thank you for help. REP+
__________________
Work In Progress:
[GameMode]Stroberia RolePlay (20%) [Join My Channel to take part in Testing http://discord.gg/sBpRC5E]
Development Video: Watch Here
Serverside Map/GPS System: Watch Here
Discord: Tom_Strobe#2300
Nexotronix is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to move a door/open the LSPD door? EtayJ Scripting Help 2 16/11/2016 03:09 AM
See if a player is near to the driver's door or the passenger door Hantex. Scripting Help 9 03/09/2014 11:06 PM
Dynamic Door /enter and /exit issue. Shockey HD Scripting Help 3 04/07/2013 12:45 PM
help iam make map and make door in place cop office and door no open when player need go Abdo2013 Scripting Help 6 16/04/2012 08:13 PM


All times are GMT. The time now is 07:04 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.