Raised This Month: $235 Target: $400
 58% 

Notices

Global const array.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
artist
Member
Join Date: Nov 2013
Old 03-14-2018 , 05:30   Global const array.
Reply With Quote #1

PHP Code:
const char[] String:szSpawn = {"""info_player_terrorist""info_player_counterterrorist"""
Quote:
E:\Games\Counter-Strike Source\cstrike\addons\sourcemod\scripting\Unt itled_Script.sp(14) : error 001: expected token: "=", but found "["
How right?
artist is offline
xm3kilo
Member
Join Date: Jan 2018
Old 03-14-2018 , 05:39   Re: Global const array.
Reply With Quote #2

PHP Code:
char szSpawn[][] = {"""info_player_terrorist""info_player_counterterrorist"""}; 
xm3kilo is offline
artist
Member
Join Date: Nov 2013
Old 03-14-2018 , 05:45   Re: Global const array.
Reply With Quote #3

Thank you. ))
artist is offline
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

Forum Jump


All times are GMT -4. The time now is 14:38.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode