sannybuilder / dev

Sanny Builder Bug Tracker and Roadmap development
https://sannybuilder.com
44 stars 0 forks source link

Forbidden character in the identifier #315

Closed jarirhaider closed 3 months ago

jarirhaider commented 3 months ago

Forbidden character in the identifier

{$CLEO .cs}

// This script adds Groove Street Family gang members guarding the Ganton area

thread 'GSF_Ganton'

const GANTON_X1 = 244.0 GANTON_Y1 = -1896.0 GANTON_X2 = 486.0 GANTON_Y2 = -1600.0

:GSF_Ganton wait 0 if Player.Defined($PLAYER_CHAR) then if Actor.Defined($PLAYER_ACTOR) then 0237: set_actor $PLAYER_ACTOR skin_to 105 // Set player skin to Grove Street Family member $PLAYER_ACTOR_X = Actor.Angle($PLAYER_ACTOR) $PLAYER_ACTOR_Y = Actor.Angle($PLAYER_ACTOR) if $PLAYER_ACTOR_X >= GANTON_X1 && $PLAYER_ACTOR_X <= GANTON_X2 && $PLAYER_ACTOR_Y >= GANTON_Y1 && $PLAYER_ACTOR_Y <= GANTON_Y2 then 036A: put_actor $PLAYER_ACTOR in_car 0368: spawn_actor 0 model #COP at 250.0 -1880.0 13.0 angle 90.0 0368: spawn_actor 0 model #COP at 260.0 -1895.0 13.0 angle 180.0 0368: spawn_actor 0 model #COP at 280.0 -1880.0 13.0 angle 90.0 0368: spawn_actor 0 model #COP at 270.0 -1905.0 13.0 angle 180.0 0368: spawn_actor 0 model #COP at 290.0 -1880.0 13.0 angle 90.0 0368: spawn_actor 0 model #COP at 280.0 -1915.0 13.0 angle 180.0 0368: spawn_actor 0 model #COP at 310.0 -1880.0 13.0 angle 90.0 0368: spawn_actor 0 model #COP at 290.0 -1925.0 13.0 angle 180.0 0368: spawn_actor 0 model #COP at 330.0 -1880.0 13.0 angle 90.0 0368: spawn_actor 0 model #COP at 300.0 -1935.0 13.0 angle 180.0 0368: spawn_actor 0 model #COP at 350.0 -1880.0 13.0 angle 90.0 0368: spawn_actor 0 model #COP at 310.0 -1945.0 13.0 angle 180.0 end end end jump @GSF_Ganton