SA-MP Forums

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

Thread Tools Display Modes
Old 23/05/2020, 11:38 AM   #1
Big Clucker
Join Date: Jun 2016
Posts: 74
Reputation: 0
Default Check Textdraw Box Object

I make a slots machine system and i wanna try something.
If first box object is "69" to write in chat "First textdraw is 69"

PHP Code:
if(PlayerText:linia11 == "LD_SLOT:r_69")
SendClientMessage(playerid, -1"First textdraw box is 69");
diagonala[playerid] = 0;

I make this IF but i get this error, i don't think is good the IF
PHP Code:
includes/ : error 033: array must be indexed (variable "-unknown-"
I try something like that but this is show now
PHP Code:
if(linia11 == strcmp("PLD_SLOT:r_69","LD_SLOT:r_69"))
warning 213tag mismatchexpected tag "PlayerText"but found none ("_"
Calinut200 is offline   Reply With Quote

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
check if someone near an object 1fret Scripting Help 3 28/08/2016 09:19 PM
Check if object is facing another fordawinzz Scripting Help 3 01/01/2014 01:12 PM
Check object cnoopers Scripting Help 0 27/12/2013 02:48 PM
How can i check if object in Sphere? Bartando Scripting Help 1 07/10/2011 02:44 PM
How to check if player is near object BizzyD Help Archive 9 06/05/2011 11:33 AM

All times are GMT. The time now is 01:38 AM.

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