![]() I've done everything, run VSC from shortcut and new folder doesn't appear. ![]() |
Are you talking about the .vscode folder? Check the program itself and it should be at the very top on the left hand side tab. If not, try to open your server folder with "Open Folder" from the "File" menu. This should definitely create the folder.
|
I swear to god I tried everything, still new .vscode folder doesn't appear..
|
Try this:
Make sure you do this when your server folder is fully opened. Go to File > Preferences > Settings. Then check the left sidebar, this should definitely create a folder for you because it will create a settings.json file along with it. |
Very nice stuff, @CXdur.
I'll be working on updating the tutorial for much better readability and add some useful snippets into it too. |
ApplyEventVehicleSettings(playerid, vehicle) ApplyEventVehicleEnter(playerid, vehicle) SendHostMessageToEventMembers(event, text[]) AddGroupDrugDepot(const groupId, const dbId, Float:x, Float:y, Float:z, interior, world, drugAmount = 7500, playerLimit = 150, rank = 1, drugbag = false) IsNearbyGroupWeaponRack(const playerid, const wepRack)
"ApplyEventVehicleSettings": { "prefix": "ApplyEventVehicleSettings", "body": "ApplyEventVehicleSettings(${1:playerid}, ${2: vehicle})$0" }, "ApplyEventVehicleEnter": { "prefix": "ApplyEventVehicleEnter", "body": "ApplyEventVehicleEnter(${1:playerid}, ${2: vehicle})$0" }, "SendHostMessageToEventMembers": { "prefix": "SendHostMessageToEventMembers", "body": "SendHostMessageToEventMembers(${1:event}, ${2: text[]})$0" }, "AddGroupDrugDepot": { "prefix": "AddGroupDrugDepot", "body": "AddGroupDrugDepot(${1:const groupId}, ${2: const dbId}, ${3: Float:x}, ${4: Float:y}, ${5: Float:z}, ${6: interior}, ${7: world}, ${8: drugAmount = 7500}, ${9: playerLimit = 150}, ${10: rank = 1}, ${11: drugbag = false})$0" }, "IsNearbyGroupWeaponRack": { "prefix": "IsNearbyGroupWeaponRack", "body": "IsNearbyGroupWeaponRack(${1:const playerid}, ${2: const wepRack})$0" },
@Banditul try another think: open vs code, click File, Open Folder... and select your server folder. After vs code load everythink go to Tasks -> Configure Tasks. (worked for me)
|
> Executing task in folder 0.3.8 RP: I:\0.3.8 RP\pawno\pawncc.exe gamemodes/rp.pwn < 'I:\0.3.8' is not recognized as an internal or external command, operable program or batch file. The terminal process terminated with exit code: 1 Terminal will be reused by tasks, press any key to close it.
Ran into a problem:
Code:
> Executing task in folder 0.3.8 RP: I:\0.3.8 RP\pawno\pawncc.exe gamemodes/rp.pwn < 'I:\0.3.8' is not recognized as an internal or external command, operable program or batch file. The terminal process terminated with exit code: 1 Terminal will be reused by tasks, press any key to close it. |
"command": "\"${workspaceRoot}\"\\pawno\\pawncc.exe =)+ -;+"
very good my friend.
stop, there are no versions for 32 bits? I have 32 bits |
https://code.visualstudio.com/download
As far i can see there is 32 bits versions |
"args": [ "${relativeFile}", "=)+", "-;+" ],
"windows": { "command": "${workspaceRoot}\\pawno\\pawncc.exe =)+ -;+" },
> Executing task in folder .vscode: c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\.vscode\pawno\pawncc.exe ../Hard Core.pwn <
c:\Users\Nevinn\Desktop\HC-RP : The term 'c:\Users\Nevinn\Desktop\HC-RP' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (c:\Users\Nevinn\Desktop\HC-RP:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
> Executing task in folder .vscode: c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\.vscode\pawno\pawncc.exe ../Hard Core.pwn <
c:\Users\Nevinn\Desktop\HC-RP : The term 'c:\Users\Nevinn\Desktop\HC-RP' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ c:\Users\Nevinn\Desktop\HC-RP Offical Release\0.3.8 RC4-4\gamemodes\. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (c:\Users\Nevinn\Desktop\HC-RP:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException