use this
[code]
callback::on_spawned( &on_player_spawned );
function on_player_spawned()
{
self endon("disconnect");
weapon = GetWeapon("ray_gun");
self GiveWeapon(weapon);
[code]
callback::on_spawned( &on_player_spawned );
function on_player_spawned()
{
self endon("disconnect");
weapon = GetWeapon("ray_gun");
self GiveWeapon(weapon);
8 years ago
so you must give weapon after spawn not after connect i think there is your problem
8 years ago
its will be better to post here your complete script
8 years ago
thats we know but we are talking about mods not maps and when you create mod so there is no gsc file created automatically
Double Post Merge: September 29, 2016, 02:52:15 pm
so for now i found solution first you must add to zone file one gsc from o...
Double Post Merge: September 29, 2016, 02:52:15 pm
so for now i found solution first you must add to zone file one gsc from o...
8 years ago
i have same problem. I dont know how to load custom gsc from mod. Its will be possible for someone to make for us some example of mod with loading custom scripts?
Thanks in advance
Thanks in advance
8 years ago