Frictional Games Forum (read-only)

Full Version: How to put the script ChangeMap?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to put the script ChangeMap?

(transition player to another level when released into the aria)

I put everything seems to be correct, but it gives an error ...



Write a ready example, please.
And what would that error be? (If everything was correct, you wouldn't be getting an error.)
(12-30-2011, 06:50 PM)Your Computer Wrote: [ -> ]And what would that error be? (If everything was correct, you wouldn't be getting an error.)



Message: No matching signatures to main 'ChangeMap(string@&, string@&)'
Usage example:
PHP Code:
ChangeMap("name_of_map.map""player_start_position""start_sound""end_sound"); 

Practical example:
PHP Code:
ChangeMap("name_of_map.map""player_start_position"""""); 

Invalid example:
PHP Code:
ChangeMap("name_of_map.map""player_start_position");